Thanks to everyone who responded to my query on how PB3x compiled
the following IF statement. Because I have rarely used multiple
statements on a single line, due to the debuggng drawbacks, I was never
aware that
IF X% = 3 THEN Y% = 5: Z% = 100
would be compiled as if the second statement were conditional on the
IF statement. Apparently the implied "END IF" is the CR/LF at the
end of the line of code, not the colon at the end of the IF statement,
as I would have (wrongly) expected.
Thanks again.
Brian M.
--- WILDMAIL!/WC v4.12
---------------
* Origin: Com-Dat BBS - Hillsboro, OR. HST DS (1:105/314.0)
|