Difference between revisions of "Logic"

From WikiManual
Jump to: navigation, search
(Logic:)
(Energy Cost:)
Line 5: Line 5:
  
 
===Energy Cost:===
 
===Energy Cost:===
Since version: 2.4 you can set an Energy cotst per bitwise command instance. default is 0.
+
As of version 2.4, you can set the Energy cost per logic command executed if you so choose. The default cost is 0.

Revision as of 15:21, 10 November 2007

Logic:

true
false
and
or
not
xor

Logic:

Logic operators perform boolean operations on values on the boolean stack, popping them off the stack in the process and pushing the result onto the stack, either true or false. The result obviously will depend upong the operator was used and the boolean values on the stack at the time.

Energy Cost:

As of version 2.4, you can set the Energy cost per logic command executed if you so choose. The default cost is 0.