Difference between revisions of "Greatthan equals"

From WikiManual
Jump to: navigation, search
m (gthanequal)
 
m (add stuff)
Line 8: Line 8:
  
 
10 10 >= Is tre, as 10 is equal to 10.
 
10 10 >= Is tre, as 10 is equal to 10.
 +
 +
{{Logical Comparison Operators}}

Revision as of 19:04, 26 December 2005

Takes the two top values on the stack, and checks whether the first value is greater than or equal to the second.

Examples:

10 5 >= Is true

10 25 >= Is false, since 10 is neither greater than or equal to 25.

10 10 >= Is tre, as 10 is equal to 10.

Logical Comparison Operators:

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