Flow-control structures: Difference between revisions

m
→‎{{header|AutoHotkey}}: Minor indentation and casing edit
(+AutoHotkey)
m (→‎{{header|AutoHotkey}}: Minor indentation and casing edit)
Line 121:
</pre>
=={{header|AutoHotkey}}==
<lang AutoHotkey>MsgBox, calling label1Label1
Gosub, Label1
MsgBox, Label1 subroutine finished
Goto Label2
goto label2
MsgBox, calling Label2 ; this part is never reached
msgbox, calling label2
Return
return
 
Label1:
MsgBox, Label1
Return
return
 
Label2:
msgbox MsgBox, label2Label2 will not return to calling routine
returnReturn</lang>
 
label2:
msgbox, label2 will not return to calling routine
return</lang>
=={{header|AWK}}==
Awk has ''break'' and ''continue'' for loop control, as in C.