Difference between revisions of "Not"
From WikiManual
(→Logical Operators) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | '''<code>not</code>''' takes the top value on the booleans [[stack]] and inverts it: | |
+ | *<code>true not</code> puts <code>false</code> on the stack. | ||
+ | *<code>false not</code> puts <code>true</code> on the stack. | ||
− | + | {{Logic}} | |
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 15:38, 10 November 2007
not
takes the top value on the booleans stack and inverts it:
true not
putsfalse
on the stack.false not
putstrue
on the stack.
Logic:
|