Flow-control structures: Difference between revisions
Content added Content deleted
(+AutoHotkey) |
|||
Line 120: | Line 120: | ||
etc... |
etc... |
||
</pre> |
</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}}== |
=={{header|AWK}}== |
||
Awk has ''break'' and ''continue'' for loop control, as in C. |
Awk has ''break'' and ''continue'' for loop control, as in C. |