TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: BRIAN MCLAUGHLIN
date: 1996-02-19 12:41:00
subject: Re:Compiler quirk

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.