ALPHA STORE DESIGN STUDIO - authorized Yahoo! Small Business Partner
call us at (908).338.3992
 
About Us
Portfolio
System Additions for Store Pages
Custom Graphic Design. How It Works
/
BLOG: A few "tips" and "RTML secrets" of Yahoo store.

OUR BLOG: Yahoo Store from A to Z and RTML development "secrets".


RTML Operator “<” [less than]

In an RTML Template the “<” operator looks like:

< value1 nil
  value2 nil

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.

EXAMPLES:

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.

Tags: , , , ,

Leave a Reply