Not

From WikiManual
Revision as of 17:10, 31 January 2006 by Ollj (talk | contribs)
Jump to: navigation, search

Takes the two top values on the conditions stack and not's them. If both are true it will place a false on the conditions stack. If one is false or both are false it places a true on the conditions stack.

0 0 not puts 1 on the stack
1 0 not puts 1 on the stack
0 1 not puts 1 on the stack
1 1 not puts 0 on the stack

not results the exact opposite as and.

Logic:

true
false
and
or
not
xor