Operands
Admissible operands in expressions
The following types of operands may be used in expressions, that determine the value of object of Eval tag type, when configuring an object of Event type:
Operand type | Operand syntax |
|---|---|
Object name |
Object name including prefix and suffix.
M.POUT1; P.Speed; U.Transporter1Start |
Numeric constant |
Integer or real constants. Real constants must contain the decimal point.
29; 5.25 |
The symbol “@” is placed before their names in expressions.
@TRUE; @Crash | |
They are shown behind the object name, separated from the name by the back slash "\".
P.PRESSURE02\TIM; M.POUT\FLA | |
Function syntax is as follows: %NAME(arg1,arg2...argN),
Example: %SQRT(X2); %MAXR(T1,T2,T3) | |
Value array item | ArrayName[index]
|
Structure item determined by serial column number | Structure[index expression]^_columnIndex
The method for definition of a column is allowed just in ESL.
INT _colIdx
_colIdx := 2
SV.Persons[1]^_colIdx:=7 |
Structure item determined by column name | Object[index expression]^ItemName
Example: SV.Persons[2]^Name |