Hello Marcel
On Saturday, 14 December 1996 19:38:28, you wrote to Hans Lunsing:
HL>> How do you mean, in both cases? The range of an integer
HL>> variable is -32768 to 32767 inclusive, so in the last example x%
HL>> is in the right range.
MV> Not exactly... PB increases the variable with 1 first and then
MV> checks if it's time to leave the loop... That's why it will
MV> generate an overflow..
That I understand. But the loop counter variable x% is in the right
range, so PB should be able to execute this loop without errors.
Friendly greeting you,
Hans Lunsing, Fido : 2:281/607.214, 2:282/610.12
Internet : jlunsing@doge.nl
--- Terminate 4.00/Pro
# Origin: BBS De Lauwers For BASIC Programmers! ++31594688407 (2:282/610.12)
---------------
* Origin: United Bbs Systems Europe MailGate to -> Fido USA (2:2802/337.0)
|