these lines results in error " Error: Incorrect parameters in Set, expected: Set variable.bit status"
dim Flags as Byte #define fRunning flags.0 set fRunning
These lines compiled succesfully:
dim Flags as Byte #define fRunning flags.0 fRunning = 1
Is that normal?
Thank you, Rox
Hello Rox
I edited your post.. the CRLF were missing.
Your use of set fRunning is missing the assignment of off or on. Your use of fRunning = 1 is correct.
set fRunning
off
on
fRunning = 1
Make sense? Set something ON or OFF. Also, see the Help at http://gcbasic.sourceforge.net/help/_set.html
Thanks! for the fast response. i got it.
No problem
Log in to post a comment.
these lines results in error " Error: Incorrect parameters in Set, expected: Set variable.bit status"
These lines compiled succesfully:
Is that normal?
Thank you,
Rox
Last edit: Anobium 2019-09-06
Hello Rox
I edited your post.. the CRLF were missing.
Your use of
set fRunning
is missing the assignment ofoff
oron
.Your use of
fRunning = 1
is correct.Make sense? Set something ON or OFF. Also, see the Help at http://gcbasic.sourceforge.net/help/_set.html
Thanks! for the fast response. i got it.
No problem