The math parser library Muparserx is used to parse and evaluate the inline expressions or calculate global_variable. Information on the syntax is available on mupaserx - math parser library.


Some key elements are defined below:


Multiple lines


Multiple commands can be command by the command separator &.




Conditional statements 

Conditional statements can be inserted by the ternary operator ? with logical operators


and, or, xor, ==, !=, <, >, <=, >=


               @<@Option == 1 ? "include$ option1.inc" : ""



String functions:

String concatenation: //



String functions: str2dbl, strlen, toupper

Extra HPx functions: str2int


Escape character in strings: \

Newline                \n

Tab                \t

Quote                \"