-=> Quoting Brian Mclaughlin to All <=-
BM> But, instead, the compiler compiles it as the equivalent of this...
BM> FOR test% = 1 TO 3
BM> IF test% = 3 THEN
BM> test% = -333
BM> test% = 999
BM> END IF
BM> PRINT test%
BM> NEXT test%
BM> Am I just all wet, or am I onto something here? How do others think
BM> the compiler should behave in this instance? Inquiring minds want to
BM> know.
That looks normal to me. When an IF evaluates to false, statements
following in the same line are not executed unless part of an ELSE
statement. That's what most versions of BASIC do.
coffeerp@adan.kingston.net Û] COFFEE MUG SOFTWARE Û]
___ Blue Wave/QWK v2.20
--- InterEcho 1.16
---------------
* Origin: CrossRoads * Kingston, Ont. (1:249/1)
|