FCV values C code

For C and ASSEMBLY users to post questions and code snippets for programming in C and ASSEMBLY. And for any other C or ASM course related questions.

Moderators: Benj, Mods

Post Reply
Jodam
Posts: 2
Joined: Thu Apr 03, 2008 3:52 pm
Contact:

FCV values C code

Post by Jodam »

Hi
I don't really understand how I can create a value in my c code, which could be recognized by flowcode in the algorigram.
I heard when you use FCV_value instead of the simple value, flowcode could recognize it. I want to use the C code value into the algorigram. But it doesn't work !!!!

SOS. Thanks.

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times
Contact:

Re: FCV values C code

Post by Sean »

Any variables that are to be accessed by both C and Flowcode should only be declared in Flowcode, using the Variable Manager -> Add New Variable -> Create a new variable facility. This will ensure that the variable is accessible in both environments. Flowcode can only recognise variables that are included in its Variable Manager list.

Example:
The addition of a Flowcode byte variable ,Data1, will cause the following declaration to be automatically added to the resulting C code:

char FCV_DATA1;

Post Reply