Command

From Wiki of ZZT
Jump to navigation Jump to search

ZZT-OOP lines starting with # are treated as commands.

The ZZT-OOP interpreter has a maximum number of commands which will be processed during a cycle; after the 33. (thirty-third) command is processed, execution will stop and continue only on the next cycle. This limit does not apply to other types of lines, such as message text or comments.

Quirks

  • For commands which are executed as part of another command (such as #if or #take), the # may be omitted.
    • These additional commands count towards the limit of processed commands, but execution will not stop before such a command.
  • Text placed after ZZT-OOP commands may be ignored in a manner similar to comments, due to how the interpreter parses code lines.