A table to map a double result value to a textual value, such as the Status Macro. The first column allows single numeric values and ranges of the format D MIN ; MAX D. Token | Description |
---|
D | The delimiter D may be either [ or ] . - If
[ is specified for- the start value, then the start value is included.
- the end value, then the end value is excluded.
- If
] is specified for- the start value, then the start value is excluded.
- the end value, then the end value included.
| MIN | The minimum value of the range. If omitted, the minimum value of the range is the absolute minimum value. Any value smaller than MAX is accepted. | MAX | The maximum value of the range. If omitted, the maximum value of the range is the absolute maximum value. Any value greater than MIN is accepted. |
The defined mappings are processed from top to bottom. The first matching rule provided the representation. Where one space is shown in the format above there may be any number of spaces, including zero spaces. Example Box |
---|
|
Code Block |
---|
language | text |
---|
title | Every value greater than or equal to 10 and smaller than or equal to 30 is accepted |
---|
| [10;30] |
Code Block |
---|
language | text |
---|
title | Any number smaller than or equal to 30 is accepted |
---|
| [;30] |
Code Block |
---|
language | text |
---|
title | The number must be exactly 30 - both representations are correct |
---|
| 30
[30;30] |
Code Block |
---|
language | text |
---|
title | Every value greater than 10 is accepted |
---|
| ]10;] |
|
projectdoc-box-example |
---|
title | Example configuration for the Output Mapping |
---|
|
Output Mapping |
---|
[;10] | | ]10;20] | | ]29;] | Status |
---|
colour | Green |
---|
title | Top notch! |
---|
|
|
|
|
|