#REPEAT# - #WHILE# is the smarter solution as you don't need any #GOTO#-label. But the #PUTCURSOR# could theoretically produce an error in a worst case scenario.
One thing that could make problems, too: every loop takes a different time on each machine depending on the processor and OS. Therefor this loop should have an optional value ranging from 5000 to 15000.
#LOADOPTIONS#
#SETOPTION#=#97#1[Delay time]0=slow processor|1=normal processor|2=fast processor
#ENDLOADOPTIONS#
//... somewhere in the last executed block or whereever you want
#IF# #97#==#0#
#PUT#=5000#98#
#ENDIF#
#IF# #97#==#1#
#PUT#=10000#98#
#ENDIF#
#IF# #97#==#2#
#PUT#=15000#98#
#ENDIF#
#PUT#=0#99#
#REPEAT#
#COMPUTEVAR#=#99#+1
#WHILE# #98#<>#99#