Difference between revisions of "="

From WikiManual
Jump to: navigation, search
 
(Logical Comparison Operators)
 
(One intermediate revision by one other user not shown)
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}}

Latest revision as of 14:34, 23 December 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:

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