Booleans and Bytes
Are there booleans in spin? They don't mention it in the manual.
Can you take 8 booleans and change them into a byte?
Thanks,
Theron
Can you take 8 booleans and change them into a byte?
Thanks,
Theron
Mark Twain said...
There are only two things that are infinite. Human stupidity and the universe. I'm not sure about the latter.

Comments
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Don't have VGA?
Newzed@aol.com
·
CON firstflag = |< 0 secondflag = |< 1 thirdflag = |< 2 'more flag definitions here VAR long flags PUB go flags |= firstflag 'set the first flag flags &= !secondflag 'clear the second flag if flags & firstflag 'code to execute if first flag set if !flags & secondflag 'code to execute if second flag is clear▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.