Skip to content

Stop Behavior

Chick Markley edited this page Sep 23, 2016 · 1 revision

The interpreter tests stop conditions during a the cycle() call. If the conditions are met then a StopException is thrown with a brief message and a value. The value is zero is considered a success stop. All other values are considered *failure" Once a stop has occurred the interpreter can still be used (assuming the StopException has been caught) but operations like poke and cycle cannot performed until after the interpreter's stop conditions has been cleared with clearStop().

Clone this wiki locally