for once, i'm really impressed...May 13 2007 at 4:57 AM
|mennonite (no login)|
Response to Another trick
and it does too work with fors... unless you (not you, him) meant something else:
'the opposite of solitaire's way out of nested for loops
FOR n = 1 TO 1 STEP 0
PRINT n; 'this is here to demonstrate that it won't happen.
EXIT FOR 'this prevents you from being in a loop.
'in solitaire's version, so will DO WHILE 0 = 1
Newbies usually go to www.qbasic.com and click on
The QBasic Forum
Forum regulars have their own ways, which include
The QBasic Community Forums