>=

Syntax expression1 >= expression2

expression1 ³ expression2

Action This comparison operator yields the boolean value true if the value of expression1 is greater (larger) than or equal to the value of expression2.

Examples file.size ("myFile") >= 1000000

   » true

This expression evaluates to true if file.size returns a value larger than or equal to one million.

"abc" ³ "abc"

   » true

The result is true, because the two expressions are equal.

Notes There is no difference between the two forms, <= and ².

String comparison is carried out according to the ASCII sequence. This yields alphabetical results. Lowercase characters sort after all uppercase characters, that is, "A" < "Z" < "a" < "z".

UserTalk employs automatic type coercion when evaluating arithmetic and comparative operations; the two expressions need not be of the same type to be compared.

The ³ symbol can be entered at the keyboard with Option->

See Also >

<

<=

==

!=

Discuss