Difference between revisions of "="

From WikiManual
Jump to: navigation, search
 
Line 10: Line 10:
  
 
Will place false on the conditions stack. The 50 and 60 are still removed from the regular stack.
 
Will place false on the conditions stack. The 50 and 60 are still removed from the regular stack.
 +
 +
=== Logical Comparison Operators===
 +
* [[=]]
 +
* [[!=]]
 +
* [[Greater than|>]]
 +
* [[Less than|<]]
 +
* [[%=]]
 +
* [[!%=]]

Revision as of 20:39, 17 September 2005

Equals takes the top two values on the regular stack, and places true on the conditions stack if the two values were equal, false otherwise.

For instance:

50 50 =

Will place true on the conditions stack. The two 50s are removed from the regular stack.

50 60 =

Will place false on the conditions stack. The 50 and 60 are still removed from the regular stack.

Logical Comparison Operators