XML: NOT Operator !

From FSDeveloper Wiki
Revision as of 10:53, 26 December 2016 by Rpmc (talk | contribs) (Created page with " == NOT Operator ! == Explanation of the ! Operator courtesy Tom Aguilo: The NOT Operator, ! (negation sign) acts like a toggle operator. It works by extracting the last val...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

NOT Operator !

Explanation of the ! Operator courtesy Tom Aguilo:

The NOT Operator, ! (negation sign) acts like a toggle operator. It works by extracting the last value on the stack and converting it:

- to 0 when it is >= 1 or <= -1 (equivalent to logical FALSE, or "zero" ) - to 1 when it is > -1 and < 1 (equivalent to logical TRUE, or "not zero" )