Functions
This section provides information about the functions that are available for use in your expressions.
Before you use a function in an expression, you should be familiar with the expression grammar, required syntaxes, and so on (see Grammar for Expressions).
The functions that you can use in your expressions are grouped into these categories:
Many functions have arguments that need to be of a certain data type. If you use the wrong data type for an argument, ClearSCADA will try to convert the argument into the correct data type. For example, if you define a REAL value when a BOOL is required, ClearSCADA will try to convert the REAL into a BOOL. In the case of a string argument, the content of the string determines whether the conversion is successful. For example, if the required data type is Integer, but you define a string argument as "1234", the argument will work successfully. This is because ClearSCADA can convert the content of the string into an Integer value successfully (the content of the string matches a valid value for the required data type).