Jump anywhere: Difference between revisions

No edit summary
Line 992:
=={{header|EMal}}==
<syntaxhighlight lang="emal">
^|EMal has no goto statement, but supports exceptions.
type JumpAnywhere
|The closes statements are break, continue, return, exit
^|EMal has no goto statement, but supports exceptions.
|and exceptions management.
|The following are the basic EMal jumps.
|^
fun sample = void by block
Line 1,009:
sample()
type StateMachine
^|this code shows how to selectevely jump to specific code
|to simulate a state machine as decribed here:
|https://wiki.tcl-lang.org/page/A+tiny+state+machine
Line 1,042:
{{out}}
<pre>
emal./exe Org\RosettaCode\JumpAnywhere.emal 2
i = 2
i = 3
226

edits