Flow-control structures: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
Drkameleon (talk | contribs) (added Arturo) |
||
Line 280: | Line 280: | ||
addeq R0,R0,#1 ;almost any instruction can be made conditional. If the flag state doesn't match the condition code, the instruction |
addeq R0,R0,#1 ;almost any instruction can be made conditional. If the flag state doesn't match the condition code, the instruction |
||
;has no effect on registers or memory.</syntaxhighlight> |
;has no effect on registers or memory.</syntaxhighlight> |
||
=={{header|Arturo}}== |
|||
=== return === |
|||
return from the function currently being execute |
|||
=== loop control === |
|||
Arturo's loop control statements are: <code>break</code> and <code>continue</code> |
|||
=== exceptions === |
|||
Normally, in Arturo we'd use either <code>try [...]</code> or <code>try? [...] else [...]</code> blocks. |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |