[ library(suspend) | Reference Manual | Alphabetic Index ]

?Expr1 #=< ?Expr2

The integer value of Expr1 is less than or equal to the integer value of Expr2.
An integer arithmetic expression
An integer arithmetic expression


Suspends until both Expr1 and Expr2 are ground, and then both arguments are evaluated and compared, succeeding iff they are both integers and Expr1 is less than or equal to Expr2.


This predicate is sensitive to its module context (tool predicate, see @/2).

Fail Conditions

fails if the value of Expr1 is greater than the value of Expr2, or if either do not evaluate to an integer.


(24) number expected
Expr1 or Expr2 is not an arithmetic expression.

See Also

#=< / 3, ic : #=< / 2, gfd : #=< / 2