This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
condition-statements [2016/02/28 15:09] Wearable Software [Conditional statements] |
condition-statements [2016/02/28 15:31] Wearable Software removed |
||
---|---|---|---|
Line 2: | Line 2: | ||
You can use condition statements in expressions to build dynamic watchfaces. The syntax for a conditional statement is: | You can use condition statements in expressions to build dynamic watchfaces. The syntax for a conditional statement is: | ||
- | $condition? | + | < |
- | Following operators are supported for condition: | + | Following operators are supported for a condition: |
* greater equal >= | * greater equal >= | ||
* lower equal <= | * lower equal <= | ||
Line 10: | Line 10: | ||
* greater > | * greater > | ||
* equals == | * equals == | ||
- | * equals | + | * not equals |
===== Example ===== | ===== Example ===== | ||