Comment

From Wiki of ZZT
Revision as of 15:36, 9 February 2021 by Rbts (talk | contribs) (Created page with "Any ZZT-OOP line beginning with an apostrophe ('''<nowiki>'</nowiki>''') is treated as a '''comment''' and ignored by the interpreter. Comments provide a way for the progr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Comments are used in the implementation of zapping and restoring labels.