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] |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Conditional statements | ||
- | 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: | ||
- | * greater equal >= | ||
- | * lower equal <= | ||
- | * lower < | ||
- | * greater > | ||
- | * equals == | ||
- | * equals not != | ||
- | |||
- | ===== Example ===== | ||
- | |||