What does the "Z" signify ?

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
iain wilkie
Posts: 97
Joined: Tue Jul 14, 2009 4:37 pm
Has thanked: 13 times
Been thanked: 9 times
Contact:

What does the "Z" signify ?

Post by iain wilkie »

I know this is probably a stupid question but I cannot find the answer anywhere !

What does the "Z" signify in the Properties Settings .... see attached screenshot
Screen.png
Screen.png (37.05 KiB) Viewed 2111 times
.
I also note in Flowcode 9 in can have a red "+" associated with it ??

Iain

chipfryer27
Valued Contributor
Valued Contributor
Posts: 773
Joined: Fri Jun 06, 2014 3:53 pm
Has thanked: 185 times
Been thanked: 204 times
Contact:

Re: What does the "Z" signify ?

Post by chipfryer27 »

Hi

As far as I am aware it means the variable type, in this case an integer value between -32768 and +32767.

Regards

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: What does the "Z" signify ?

Post by medelec35 »

Hi Ian
The Z (Z meaning integer as chipfryer27 correctly said) without a + sign is an signed integer, with a range is from -32768 to 32767
The + just means you can't have a negative number, only 0 or positive.
If the Z has a + then it's a unsigned integer, with a range is from 0 to 65535
The notation Z for integer comes from the German word Zahlen, which means "numbers".
So as the Z in your case is a signed you can only have a range from -32768 to 32767.
Martin

iain wilkie
Posts: 97
Joined: Tue Jul 14, 2009 4:37 pm
Has thanked: 13 times
Been thanked: 9 times
Contact:

Re: What does the "Z" signify ?

Post by iain wilkie »

Cheers Martin, great explanation 👍

Iain

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: What does the "Z" signify ?

Post by medelec35 »

Your welcome Ian. :)
Martin

Post Reply