Difference between revisions of "Lessthan equals"

From WikiManual
Jump to: navigation, search
(less than equal)
 
m (gen edit)
 
Line 1: Line 1:
Takes the two top values on the stack, and checks whether the first value is less than the second.
+
Takes the two top values on the stack, and checks whether the first value is less than or equal to the second.
  
 
Examples:
 
Examples:

Latest revision as of 19:05, 26 December 2005

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

Examples:

10 5 <= Is false, since 10 is neither less than or equal to 5.

10 25 <= Is true, since 10 is less than 25.

10 10 <= Is true, as 10 is equal to 10.

Logical Comparison Operators:

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