signed/unsigned int 64 inside FC8

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

Moderator: Benj

Post Reply
Dirk Bubley
Posts: 99
Joined: Fri Feb 02, 2007 3:54 pm
Location: Germany
Has thanked: 14 times
Been thanked: 12 times
Contact:

signed/unsigned int 64 inside FC8

Post by Dirk Bubley »

Hello FC Team,

ist it possible to create a variable int 64 signed and unsigned inside FC8?

BR

Dirk

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: signed/unsigned int 64 inside FC8

Post by Benj »

Hello,

Yes I beleive it's possible but only via the C code icon or the supplementary code window.

Signed 64-bit variable

Code: Select all

signed long long var;
Unsigned 64-bit variable

Code: Select all

unsigned long long var;
Hope this helps.

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: signed/unsigned int 64 inside FC8

Post by kersing »

You will need to take a close look at the data sheet for the compiler for your particular device to see if it is implemented. Last time I looked the 8 bit PIC devices didn't support 64 bit. However it seems some (all) now do if you use a fairly recent XC8 compiler. My (slightly older) FC8 install uses XC 1.45 which does not support 64 bit yet.

Compilers for other targets might differ...
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

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

Re: signed/unsigned int 64 inside FC8

Post by medelec35 »

kersing wrote:However it seems some (all) now do if you use a fairly recent XC8 compiler.
Just a reminder of this post if not already seen it?
Martin

Post Reply