Flow-control structures: Difference between revisions

+AutoHotkey
(+AutoHotkey)
Line 120:
etc...
</pre>
=={{header|AutoHotkey}}==
<lang AutoHotkey>MsgBox, calling label1
Gosub, Label1
MsgBox, Label1 subroutine finished
goto label2
msgbox, calling label2
return
 
Label1:
MsgBox, Label1
return
 
label2:
msgbox, label2 will not return to calling routine
return</lang>
=={{header|AWK}}==
Awk has ''break'' and ''continue'' for loop control, as in C.
Anonymous user