04-14-2025, 01:03 PM
(This post was last modified: 04-14-2025, 01:05 PM by ahenry3068.)
This is normally how BASIC works. The Index variable gets changed by STEP (or just +1 if no STEP is specified) at the NEXT. It happens
one final time when the for loop exits.
Actually by formal definition the variable value is UNDEFINED except during the loop. But what you found is how every BASiC
I've dealt with has actually behaved.
one final time when the for loop exits.
Actually by formal definition the variable value is UNDEFINED except during the loop. But what you found is how every BASiC
I've dealt with has actually behaved.


