Watchface Builder Wiki

Ultimate Watchface Builder

User Tools

Site Tools


condition-statements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
condition-statements [2016/02/28 14:56]
Wearable Software created
condition-statements [2016/02/28 15:31]
Wearable Software removed
Line 1: Line 1:
-====== Conditional Statements ======+====== Conditional statements  ====== 
 +You can use condition statements in expressions to build dynamic watchfaces. The syntax for a conditional statement is: 
 + 
 +<code>$condition?true value:false value$</code> 
 + 
 +Following operators are supported for a condition: 
 +  * greater equal >= 
 +  * lower equal <= 
 +  * lower < 
 +  * greater > 
 +  * equals == 
 +  * not equals != 
 + 
 +===== Example =====