not

From Wiki of ZZT
Revision as of 05:36, 14 February 2021 by Quantum (talk | contribs) (Making description a little more precise)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

not is a condition modifier in ZZT-OOP. It negates the result of the condition check which follow it within an #if statement. For example, #if not foo give torches 1 will add 1 to the torches counter if no flag named "foo" is set.