Branch: Difference between revisions

Jump to navigation Jump to search
m (Text replacement - "<source" to "<syntaxhighlight")
 
Line 12: Line 12:


In a [[tacit]] function (which doesn't have its own stack frame), the effect of Branch will be exercised in its caller. Tacit functions containing Branch can therefore be used to write covers for Branch, including various conditions.
In a [[tacit]] function (which doesn't have its own stack frame), the effect of Branch will be exercised in its caller. Tacit functions containing Branch can therefore be used to write covers for Branch, including various conditions.
== Keyword alternatives ==
In dialects with [[control structure]]s, branching can also be effected with <syntaxhighlight lang=apl inline>:GoTo</syntaxhighlight> and specifically leaving the current function (which is normally <syntaxhighlight lang=apl inline>→0</syntaxhighlight>) can be written <syntaxhighlight lang=apl inline>:Return</syntaxhighlight>.


==Examples==
==Examples==

Navigation menu