Input Type: Numeric Range
Output Type: Value
You can see in the Binding Preview at the bottom that the original value of the property binding is zero. Since the Map Transform input value is 0, we get an output value of 99, the Fallback value. This is because the first mapping uses an exclusive 0 (with a parenthesis) so it is testing for strictly greater than 0, not "greater than or equal to."
Code Block |
---|
title | Numeric Range to Number Mapping |
---|
|
(0,25] 0
(25,40] 1
[40,50] 2
Fallback 99 |

Code Block |
---|
title | Numeric Range to String Mapping - Range Values Omitted |
---|
|
(,25] "Below 25"
(25,) "Above 25"
Fallback "Invalid Value" |
This is linked to a status text display.
Input Type: Value
Output Type: Value
You can see in the Binding Preview at the bottom that the original value of the property binding is zero. Since the Map Transform input value is 0, we get an output value of "OFF".

This is linked to the background color property of a text field.
Input Type: Expression
Output Type: Color
This input is passed through several expressions before selecting the Fallback value of black (#000000). You can see in the Binding Preview at the bottom that the original value of the property binding is 15. For each expression past the first, a single bit of that integer is being tested. Since none of bits 0, 1, or 2 are true, we get the fallback. For more information on the getBit() function, see the appendix.

Input Type: Range
Output Type: Expression
This mapping maps different ranges of values to different parts of the current time. You can see in the Binding Preview at the bottom that the original value of the property binding is 11 so we get an output value that pulls the minute out of the current time. That was 51 at the time this screenshot was taken.
