less INDEX

< _ _ _ LESS _ _ _ _ _ _ _ _ _ _ _ _ operator

< is an infix binary logical comparison operator that returns true if its first argument is strictly less than its second argument.

syntax:

<expression> < <expression>

<expression> must evaluate to a number, e.g., integer, rational or floating point number.

examples:


f := -3; 

  F := -3 


if f < -3 then write "yes" else write "no"; 


  no

The binary comparison operators can only be used for comparisons b etween numbers or variables that evaluate to numbers. The truth values returned by such a comparison can only be used inside programming constructs, such as if...then...else or repeat...until or while...do.