script crashes with stack overflow when jumping out of a while loop several times
num = 0
:MAIN
num = num+1
int2str STRN num
title = 'number of loops before stack overflow: '
strconcat title STRN
settitle title
maxtime = 2
while maxtime>1
endwhile
:TEST_END
pause 1
goto MAIN
num = 0
:MAIN
num = num+1
int2str STRN num
title = 'number of loops before stack overflow: '
strconcat title STRN
settitle title
maxtime = 2
while maxtime>1
endwhile
:TEST_END
pause 1
goto MAIN