Hello FC Team,
ist it possible to create a variable int 64 signed and unsigned inside FC8?
BR
Dirk
signed/unsigned int 64 inside FC8
Moderator: Benj
-
- Posts: 99
- Joined: Fri Feb 02, 2007 3:54 pm
- Location: Germany
- Has thanked: 14 times
- Been thanked: 12 times
- Contact:
- 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
Hello,
Yes I beleive it's possible but only via the C code icon or the supplementary code window.
Signed 64-bit variable
Unsigned 64-bit variable
Hope this helps.
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;
Code: Select all
unsigned long long var;
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- 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
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...
Compilers for other targets might differ...
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- 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
Just a reminder of this post if not already seen it?kersing wrote:However it seems some (all) now do if you use a fairly recent XC8 compiler.
Martin