
Originally Posted by
cyh_fax
Also, I just realised that I could have
"p var byte" or "p var bit"
but then the "p var bit" compiled with many errors. Why? Which one should I use. Even after reading the manual, I still don't really know. Please help.
You want p var byte
(B0 was a byte in your PBC version)
if p where a bit, it could be "1" or "0"
if p is a byte, it can be "%00000000" -"%11111111" ;(0-255)
since you have stuff like "if p.4 = 0 then"
you are asking if the 5th bit from the right is 0 (bit counting starts at 0). Since a bit only has one place and a byte has 8, you want a byte,
Hi Joe,
Thanks for chiming it - however, it is not clear to me what your version fixes or why one would want to add a goto when the IF command already "gotos"? Are you suggesting this to make it more readable?
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks