And

From WikiManual
Revision as of 15:30, 10 November 2007 by EricL (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Takes the two top values on the boolean stack and and's them together. If both are true it results in true being placed on the boolean stack, otherwise it will place a false on the boolean stack.

false false and   puts false on the boolean stack
false true and    puts false on the boolean stack
true false and    puts false on the boolean stack
true true and     puts true on the boolean stack

Logic:

true
false
and
or
not
xor