FANDOM


Syntax

object < object

Explanation

< outputs TRUE if the first input is less than the second input; otherwise, < outputs FALSE. < may also be used as a prefix operation with two inputs.

Note that letters can be compared with < as well as numbers. The letter A has the lowest value and Z the highest.

Examples

? 3 < 8

Result: TRUE

? 8 < 3

Result: FALSE

? 3 < 3

Result: FALSE

? "A < "F

Result: TRUE

? "APPLE < "BANANA

Result: TRUE

? "BANANA < "BASEBALL

Result: TRUE

?