RTML Operator “<” [less than]
In an RTML Template the “<” operator looks like:
The purpose of this operator is to compare two numbers. If the first argument is less than the second one, then the operator returns “true”.
This operator could be used in combination with “IF”, “FOR” and “WHEN” operators.
WHEN < value1 @custom-variable value2 20 TEXT "Your number is less than 20"
So, if the number defined in the custom property “custom-variable” will be less than 20, then the text “Your number is less than 20” will appear at the page spot.
This entry was posted on Friday, March 16th, 2012 at 9:37 am and is filed under Description of RTML Operators. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.