restart

From Wiki of ZZT
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