ZZT-OOP: Difference between revisions

From Wiki of ZZT
Jump to navigation Jump to search
No edit summary
(correct note about scrolls)
Line 3: Line 3:
== Quirks ==
== Quirks ==


* While this is not officially documented, [[Scroll|Scrolls]] also rely on the ZZT-OOP parser to display messages and can thus execute commands.
* DEMO.ZZT claims that "[[Scrolls]] can contain text, interactive messages, or even complete programs!"<ref>[https://museumofzzt.com/file/view/zzt/?file=DEMO.ZZT&board=2#17,10 DEMO.ZZT (1991)], board 2</ref> This is partially true. While scrolls can execute ZZT-OOP commands, they cannot perform any tasks that take longer than a single cycle, and there are some commands that outright crash ZZT if used by them.


== References ==
== References ==

Revision as of 09:13, 24 December 2025

ZZT-OOP is the scripting language used by ZZT. Officially described as "a small object-oriented command language"[1], it implements a message-based model for communicating between independent actors called Objects.

Quirks

  • DEMO.ZZT claims that "Scrolls can contain text, interactive messages, or even complete programs!"[2] This is partially true. While scrolls can execute ZZT-OOP commands, they cannot perform any tasks that take longer than a single cycle, and there are some commands that outright crash ZZT if used by them.

References

  1. Sweeney, Tim. (1991) "ZZT-OOP Programming Language".
  2. DEMO.ZZT (1991), board 2