Difference between revisions of "SHIP:Sail:reboot"

From Serious Documentation
Jump to: navigation, search
Line 23: Line 23:
 
}</source>
 
}</source>
  
[[Category:Flow Control Statements]]
+
[[Category:Flow Control]]

Revision as of 14:05, 10 October 2016

See Also

reboot

Causes SIM to reboot.

Statement Description
reboot Causes immediate termination of code and reboot of SIM.

Example

foo(10) {
   while(a) {
      a -= 1;
   }
   reboot();
}