Comment
Jump to navigation
Jump to search
Any ZZT-OOP line beginning with an apostrophe (') is treated as a comment and ignored by the interpreter. Comments provide a way for the programmer to document their code, or to quickly disable lines of code without deleting the text.
The apostrophe must be the first character on the line. Any leading whitespace will cause the line to be treated as display text.
Comments are also used to handle zapped labels. As such, one can zap a label ahead of time by writing it as a comment.
| ZZT-OOP | |
|---|---|
| Prefixes |
|
| Messages | |
| Directions | |
| Flags | |
| Commands | |