RTML Operator “>” [greater than]
In an RTML Template the “>” operator looks like:
The purpose of this operator is to compare two numbers. If the first argument is greater than the second one, then the operator returns “true”.
TEXT IF test > value1 @custom-variable value2 20 then "Your number greater than 20" else "Your number is less or equal to 20"
As a result, if the number defined in the custom property “custom-variable” will be greater than 20, then the text “Your number is greater than 20” will appear at the page spot, otherwise the text ” Your number is less or equal to 20” will appear.
This entry was posted on Saturday, March 17th, 2012 at 4:35 pm 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.