Restart: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{DISPLAYTITLE:restart}} '''restart''' is a built-in ZZT-OOP message that resets an object's instruction counter, making it continue execution from the top of its program...") |
m (whitespace) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:restart}} | {{DISPLAYTITLE:restart}} | ||
'''restart''' is a built-in [[ZZT-OOP]] message that resets an object's instruction counter, making it continue execution from the top of its program. | '''restart''' is a built-in [[ZZT-OOP]] message that resets an object's instruction counter, making it continue execution from the top of its program. | ||
== Syntax == | == Syntax == | ||
Line 13: | Line 11: | ||
Object restarting other objects on the board: <code>#others:restart</code> | Object restarting other objects on the board: <code>#others:restart</code> | ||
{{ZZT-OOP navbox}} | {{ZZT-OOP navbox}} |
Latest revision as of 01:34, 11 February 2021
restart is a built-in ZZT-OOP message that resets an object's instruction counter, making it continue execution from the top of its program.
Syntax
Object restarting itself: #restart
Restarting any objects called @bandit
: #bandit:restart
Restarting all objects on the board: #all:restart
Object restarting other objects on the board: #others:restart
ZZT-OOP | |
---|---|
Prefixes |
|
Messages | |
Directions | |
Flags | |
Commands |