I have a macro is called Mtest, with a local variable called Mtest.VarTest.
So in a C-box (in that same macro) I would expect this variable to be called FCV_MTEST.VARTEST but that doesn't work. What would be the proper syntax in this case?
Cheers,
Bert
Flowcode variables in C in a macro
-
- Valued Contributor
- Posts: 548
- Joined: Tue Jun 26, 2007 11:23 am
- Has thanked: 6 times
- Been thanked: 44 times
- Contact:
Re: Flowcode variables in C in a macro
Local variable names are prefixed with FCL_ and are in upper case. There is no reference to the macro name because they are local to that macro.
Your example variable name would be FCL_VARTEST.
This is the case for parameters passed to the macro aswell as local variables declared within the macro.
Your example variable name would be FCL_VARTEST.
This is the case for parameters passed to the macro aswell as local variables declared within the macro.