Jump anywhere: Difference between revisions
→{{header|EMal}}
No edit summary |
|||
Line 992:
=={{header|EMal}}==
<syntaxhighlight lang="emal">
|The closes statements are break, continue, return, exit
▲^|EMal has no goto statement, but supports exceptions.
|and exceptions management.
|^
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.
i = 2
i = 3
|