## Ver. 5 Help need!

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.

Moderator: Benj

jgu1
Posts: 1179
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1104 times
Been thanked: 295 times
Contact:

### Ver. 5 Help need!

Hi All!

I am playing around with ver.5. I can see there is difference how to use "calculations."

To create a string I have to create this in the box "calculations" and then choose a string I found of.

How do I use Constant in the calulationbox. I can´t find anything concerning this in the help meny (Is constant is equal to a fixed value?)

BOOL = true and false, it is equal to 1 and 0 but how am I using these.

Best regard "the AMATEUR".

Jorgen

medelec35
Valued Contributor
Posts: 8825
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2561 times
Been thanked: 3720 times
Contact:

### Re: Ver. 5 Help need!

jgu1 wrote:How do I use Constant in the calulationbox. I can´t find anything concerning this in the help meny (Is constant is equal to a fixed value?)

Yes a constant like in maths is a fixed value.
So when you add a new constant, you need to name the constant and just enter the value you want the constant.
So if constant called const1 is assigned with a value of 5 and you have a variable called var1 which currently has a value of 10. Then if you use var1 = var1 + const1
Then var1 will have a value of 10 + 5 = 15
jgu1 wrote:BOOL = true and false, it is equal to 1 and 0 but how am I using these.

You can use Bool if just monitoring a single input or controlling a single output.
That should save some usage of bytes. Bool can only ever have a value of 0 or 1.
So if Bool = 1 and you add 1 to it Bool will then = 0

Martin
These users thanked the author medelec35 for the post (total 2):
jgu1 (Sat Jan 21, 2012 10:45 pm) • JonnyW (Sat Jan 21, 2012 11:44 pm)
Rating: 10%

Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

jgu1
Posts: 1179
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1104 times
Been thanked: 295 times
Contact:

### Re: Ver. 5 Help need!

Hi Martin!

It gav sense. Meanwhile I have playing around with this and have become wiser. Your explanation confirmed my experiments with these variables in Ver.5 this evening.

But it is a litle difference from ver.4 It's probably a matter of habit

Thank´s Martin

Have a nice evening.

Best regard

Jorgen.