Contents

Previous

Next

Last

Expressions

An expression is essentially anything that has a value. It can be either an analog or a bit value. Any variable is an expression, as are more complex operations created using the operators defined above. Expressions can also include parentheses where grouping of the operations is necessary. The following are examples of valid expressions:

JS1.B1 OR JS1.B2
(JS1.A1 + JS1.A2) / 2
(JS1.B1 AND JS1.B2) OR B2 OR (CMS.B1 AND CMS.B2)

Expressions are the basic building block for the CMS script since they are used to create the values that are passed to the CMS Controls to define their current state in the map.