Flow-control structures: Difference between revisions

m
Line 2,262:
try{ ... }catch(exception){ ... } [else{ ... }]
onExit(fcn); // run fcn when enclosing function exits</lang>
zkl has state machines for functional style stream processing. There are some special values that machinemachines can return for flow control:
<pre>
Void.Again // call the machine again with next value
Anonymous user