For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.
Is there here anybody who can help me how to use BOOL, true or false in FC. Only a simple examble. I can´t find anything about this even not in the helpfile.
Hi Jorgen
A very simple Boolean function that is executed by FlowCode is the "Decision". You know that in a FC Decision is checked if a concrette variable fulfils a condition, for example "If switch = 1?" Here the variable under test is the "switch". That is also a Boolean expresion: "Switch is TRUE?" The ON (=1) condition corresponds to TRUE, while the OFF (=0) condition corresponds to FALSE. Accordingly, there are two branches after a FlowCode Decision, the one that is called "yes" corresponds to Boolean TRUE while the other that called "no" corresponds to Boolean FALSE.
Fotis
I understand the function of BOOL. It's more how to handle it in FC I think when you create the variable and handle it in an if function. I would be very happy if you could make a small example.
Thank´s for your help. I understand the meaning with BOOL, Maybe I am stupid, but I have some problems to handle it in FC. Please, would you be kind to change it in att. test FC.
Thank you, now I am in business. It´s a new kind of variable for me. At the moment I test it in simulation, but later in "real wold". I know I have config the Pic before downloading.