Flow-control structures: Difference between revisions
Content added Content deleted
(+AutoHotkey) |
m (→{{header|AutoHotkey}}: Minor indentation and casing edit) |
||
Line 121: | Line 121: | ||
</pre> |
</pre> |
||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |
||
<lang AutoHotkey>MsgBox, calling |
<lang AutoHotkey>MsgBox, calling Label1 |
||
Gosub, Label1 |
Gosub, Label1 |
||
MsgBox, Label1 subroutine finished |
MsgBox, Label1 subroutine finished |
||
Goto Label2 |
|||
goto label2 |
|||
MsgBox, calling Label2 ; this part is never reached |
|||
msgbox, calling label2 |
|||
Return |
|||
return |
|||
Label1: |
Label1: |
||
MsgBox, Label1 |
MsgBox, Label1 |
||
Return |
|||
return |
|||
Label2: |
|||
⚫ | |||
⚫ | |||
label2: |
|||
⚫ | |||
⚫ | |||
=={{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. |