This also works. Would you consider this poor coding?
code:
 For $x = 0 to 12
? $x
if ($x = 9)
Goto "LoopExit"
endif
Next
:LoopExit
? "exit loop"

_________________________
Home page: http://www.kixhelp.com/hb/