And

From WikiManual
Revision as of 20:44, 23 December 2005 by Ollj (talk | contribs)
Jump to: navigation, search

Takes the two top values on the conditions stack and and's them together. If both are true it results in true being placed on the conditions stack. If both false or one is false it will place a false on the conditions stack.

0 0 and puts 0 on the stack
0 1 and puts 0 on the stack
1 0 and puts 0 on the stack
1 1 and puts 1 on the stack

Logic:

true
false
and
or
not
xor