Hello,
I have a problem trying to run C code in my FC6. It seems as it doesn't pay attention to it. For instance, the next easy program:
The 'Test' variable, begins with a '0', changes to '1', remains with '2' because the C code doesn't work, and in the end of the program, the value is '3'.
But should be '4' if C code were working. Of course, when I complile the program, doesn't appear errors.
May Anyone tellme something?. Thank You in advance.
Problem with variavle in C Code
Moderator: Benj
-
- Posts: 8
- Joined: Sun Apr 21, 2019 5:16 pm
- Has thanked: 3 times
- Contact:
-
- Posts: 8
- Joined: Sun Apr 21, 2019 5:16 pm
- Has thanked: 3 times
- Contact:
Re: Problem with variavle in C Code
Sorry, I mean:
begins with a '0', changes to '1', remains with '1' because the C code doesn't work, and in the end of the program, the value is '2'.
But should be '3' if C code were working.
begins with a '0', changes to '1', remains with '1' because the C code doesn't work, and in the end of the program, the value is '2'.
But should be '3' if C code were working.
-
- Valued Contributor
- Posts: 1200
- Joined: Wed May 31, 2017 11:57 am
- Has thanked: 70 times
- Been thanked: 440 times
- Contact:
Re: Problem with variavle in C Code
The C code won't simulate in V6. Should work ok on a device.
If you upgrade to V8 you can simulate the C code- and this would give the result you expect.
If you upgrade to V8 you can simulate the C code- and this would give the result you expect.
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Problem with variavle in C Code
Why are you asking the same question here you asked in the FC5 forum where you state that you’re using FC5 and do not want to upgrade?
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Posts: 8
- Joined: Sun Apr 21, 2019 5:16 pm
- Has thanked: 3 times
- Contact:
Re: Problem with variavle in C Code
OK!. Now I understand. Won´t simulate, but work on Chip.
Thank You.
Thank You.
Re: Problem with variavle in C Code
For me most time the V8 similation to C code does the job as you said. True!mnf wrote:The C code won't simulate in V6. Should work ok on a device.
If you upgrade to V8 you can simulate the C code- and this would give the result you expect.