Difference between revisions of "Greatthan equals"

From WikiManual
Jump to: navigation, search
m (add stuff)
m
 
Line 7: Line 7:
 
10 25 >= Is false, since 10 is neither greater than or equal to 25.
 
10 25 >= Is false, since 10 is neither greater than or equal to 25.
  
10 10 >= Is tre, as 10 is equal to 10.
+
10 10 >= Is true, as 10 is equal to 10.
  
 
{{Logical Comparison Operators}}
 
{{Logical Comparison Operators}}

Latest revision as of 17:33, 25 October 2007

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 true, as 10 is equal to 10.

Logical Comparison Operators:

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