Page 1 of 1

Integrating C with Flowcode

Posted: Tue Apr 27, 2010 10:58 pm
by medelec35
Hello.

If I have a C code icon with ccpr3l = FCV_CCPRL ;
Instead of using flowcodes variables manager, How Can I declare ccprl using c code Icon?
Is it the same format if placed in supplementary Code window?
I have read ages ago it can't be done. Is that still the case please.

My flowcode compiles if I use variable manager to declare ccprl , so I know the rest of my C code (which now includes semicolons :P ) code is correct.

Thank you

Re: Integrating C with Flowcode

Posted: Wed Apr 28, 2010 9:16 am
by Benj
Hello Medelec,

Using the C code icon you can declare the variable like this.

char FCV_CCPRL;

or if you dont want to use the Flowcode formatting on the variable.

char ccprl;

YOu can either use in the supplementary code window to make the variable global or you can define it inside a function to make it local.

Re: Integrating C with Flowcode

Posted: Wed Apr 28, 2010 3:23 pm
by medelec35
Thanks Ben.
I thought I tried that combination along with dozen others :p , but I must have been wrong since what you posted works great!