TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: BRIAN MCLAUGHLIN
from: ANDY HAYES
date: 1996-02-18 10:26:00
subject: Compiler quirk?

Quoting BRIAN MCLAUGHLIN to ALL:
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.
I do know that the QuickBasic compiler treats your little "test" in
the same way as the above shown.
Andy  
 * QUOTEOLX 2.4 1892898 *
 * OLX 2.2 TD * 
--- GEcho 1.00
---------------
* Origin: Digital Dungeon - (317) 398-2622 - Fido (1:231/75)

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™.