mypv123 : the pv called "mypv123" mypv+123 : the pv called "mypv+123" 123 : the pv called "123"Pvs can also be expressed in single quotes:
'mypv123' : the pv called "mypv123" 'mypv+123' : the pv called "mypv+123" '123' : the pv called "123"
Pvs in expressions must be single quoted:
='mypv123' : the pv called "mypv123" ='mypv+123' : the pv called "mypv+123" ='123' : the pv called "123"Escaped text is supported within the single quotes with the same definitions as in Java. For example \n for new line, \" for double quotes, \' for single quotes and so on.
Expressions can contain numeric and string constants. Their definition matches Java.
="Some text" : a constant string =123 : the constant integer 123 =3.14 : the constant double 3.14 =1e5 : the constant double 100,000 in exponential notation
Expressions can be combined with operators and functions.
=1000 * 'mypv' + 300 : the value from a pv called "mypv" multiplied by 1,000 and summed to 300 =log('mypv') : the logarithm of the pv called "mypv" =arrayOf(1,2,3,4,5) : an array containing the first 5 integers