Hi Hans Lunsing, hope you are having a nice day
Monday, 9 December 1996 20:44:15, Hans Lunsing wrote to Frank Cox
Subject: Huge arrays
FC>> for x%=-32768 to 32767
FC>> next
HL> How do you mean, in both cases? The range of an integer variable is
HL> -32768 to 32767 inclusive, so in the last example x% is in the right
HL> range.
Not exactly... PB increases the variable with 1 first and then checks
if it's time to leave the loop... That's why it will generate an overflow..
HL> loops back to where it began. It starts all over again with x% = -32768.
Jep, with error checking off, that is the case..
_ _ _ _
( | )arcel |/eldhuizen
.!. Beware of quantum ducks. Quark! Quark!
--- Terminate 4.00/Pro
# Origin: BBS'ing at Warpspeed * Bodegraven * Offline (119:3102/105)
---------------
* Origin: United Bbs Systems Europe MailGate to -> Fido USA (2:2802/337.0)
|