restart

From Wiki of ZZT
Revision as of 01:34, 11 February 2021 by RT-55J (talk | contribs) (whitespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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