>
| Syntax |
expression1 > expression2 expression1 greaterthan expression2
|
| Action |
This comparison operator yields the boolean value true if the value of expression1 is greater (larger) than the value of expression2.
|
| Examples |
file.size ("myFile") > 1000000 » true
This expression evaluates to true if file.size returns a value larger than one million.
|
| Notes |
There is no difference between the two forms, < and greaterthan. String comparison is carried out according to the ASCII sequence; this yields alphabetical results, but 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.
|
| See Also |
<
|