As the others say, there isn't a difference. I would pretty well
always say x = false if I was using x as a Boolean, if only for
readability. You can rely on true or false being an integer though.
Here for example is how I usually do movement of an object using the
arrow keys (say for a tank in Space Invaders):
x = x - keypressed(123) + keypressed(124)
If just the left arrow is pressed, x decrements, just the right arrow
and x increments, and if both are pressed is stays the same value.
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
- Re: <lingo-l> TRUE or FALSE alpha
- Re: <lingo-l> TRUE or FALSE Howdy-Tzi
- Re: <lingo-l> TRUE or FALSE alpha
- Re: <lingo-l> TRUE or FALSE Howdy-Tzi
- Re: <lingo-l> TRUE or FALSE alpha
- Re: <lingo-l> TRUE or FALSE Howdy-Tzi
- Re: <lingo-l> TRUE or FALSE Daniel Nelson
- <lingo-l> Buddy API (baXCopy... Matt Wells
- Re: <lingo-l> Buddy API (baX... alpha
- Re: <lingo-l> TRUE or FALSE Buzz Kettles
- Colin Holgate
