Logic

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

Logic:

true
false
and
or
not
xor

Logic:

Logic operators compare two variables on the stack and replace them with a 0 or a 1 on the stack depending on what operator was used and how many of the variables have ben 0.

All (but not) return a 1 if at least one of both variables on the stack was not 0. The choosen logic operator mostly exists for situations if both variables are 0 or both are not 0 or if only one of them is 0.

Energy Cost:

Since version: 2.4 you can set an Energy cotst per bitwise command instance. default is 0.