Difference between revisions of "Operator"

From WikiManual
Jump to: navigation, search
(Basic Commands)
m (Conditions)
Line 49: Line 49:
 
*[[Shift right| >>]] bit shift right
 
*[[Shift right| >>]] bit shift right
  
== Conditions ==
+
{{Logical Comparison Operators}}
* [[Greater than|>]]
 
* [[Less than|<]]
 
*[[=]]
 
*[[!=]]
 
*[[%=]]
 
*[[!%=]]
 
*[[~=]]
 
*[[!~=]]
 
* [[Greatthan equals|>= ]]
 
* [[Lessthan equals|<= ]]
 
  
 
== Logic Operators ==
 
== Logic Operators ==

Revision as of 15:28, 23 December 2005

Anything you're likely to see in DNA.

Sysvars

Basic Commands

Advanced Commands

Bitwise Commands

It'd be helpful if you knew the bit basics.

  • ~ Compliment
  • & AND
  • | OR
  • ^ XOR
  • ++ increment stack value
  • -- deincrement stack value
  • - negate stack value
  • << bit shift left
  • >> bit shift right

Logical Comparison Operators:

> <
>= <=
= !=
%= !%=
~= !~=

Logic Operators

Store commands

Flow Commands