one small tip; founded this tricky usefull for shorten create&debug process; in case of 'For-Next' very long loop (of some action).
Originally used one more cycle 'Do-Loop' inside of 'For-Next' to detect keypresses and break testing printouts,
whatever you want to see if it's created correctly.
But why to have two loops, if you have one in running ? ;)
Code: Select all
for i as integer=1 to 1000000
'generate/iterate something or so
'print its contents on screen
'and if all is Ok - break it
if inkey<>"" then exit for 'press any key
rem if inkey=chr(27) then exit for 'press Esc
rem if inkey="q" then exit for 'press "q"
'and build your next code...