Posted by Robert G Laurin on August 14, 2018 at 12:17:16:
I am trying to compile a new IBS source I just wrote. I am getting an "error M15: FOR/NEXT nesting error"
Here's the code:
Clear
Print (0) (CS);(ET)
For COUNT = 1 to 100
LET IND = RND(IND) * 100
KEY$ = STR(IND)
DATA$ = STR(IND) + STR(COUNT)
stlSet(mySTL, KEY$, DATA$)
Next COUNT
********
If I change the FOR/NEXT to a DO/LOOP all is fine:
Clear
Print (0) (CS);(ET)
DO
COUNT = COUNT + 1
IND = RND(IND) * 100
KEY$ = STR(IND)
DATA$ = STR(IND) + STR(COUNT)
stlSet(mySTL, KEY$, DATA$)
Loop While COUNT < 100
So, why ?
This tested on Windows 7 Pro, Comet32 2018.514/17.01
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.