...
The following types of operands may be used in expressions, that determine the value of the object of Eval tag type , when configuring an object of Event type:
Operand type | Operand syntax |
---|
Object name | Object name including prefix and suffix. Example: Blok kódu |
---|
language | esl |
---|
theme | Confluence |
---|
| M.POUT1TOut1; P.Speed; U.Transporter1Start |
|
Numeric constant | Integer or real constants. Real constants must contain the decimal point. Example: Blok kódu |
---|
language | esl |
---|
theme | Confluence |
---|
| 29; 5.25 |
|
System symbolic constant | The symbol “@” is placed before their names in expressions. Example: Blok kódu |
---|
language | esl |
---|
theme | Confluence |
---|
| @TRUE; @Crash |
|
Object value attribute | They are shown behind the object name, separated from the name by the backslash "\". Example: Blok kódu |
---|
language | esl |
---|
theme | Confluence |
---|
| P.PRESSURE02\TIM; M.POUT\FLA |
|
Function | Function syntax is as follows: %NAME(arg1,arg2...argN), - NAME - function name
- arg1...argN - function arguments. Function arguments may be object names, functions, logical or arithmetical expressions.
Example: Blok kódu |
---|
language | esl |
---|
theme | Confluence |
---|
| %SQRT(X2); %MAXR(T1,T2,T3) |
|
Value array item | ArrayName[index]- index – integer number or expression of Integer type
|
Structure item determined by serial column number | Structure[index expression]^_columnIndex - Structure - an object of Structured variable type or local variable of Record Record type in ESL
- index expression - arbitrary expression, acquiring values of Integer type > 0
- _columnIndex - local variable of Integer type, that defines the serial number of the column by means of its value (1 ..)
The method for definition of a column is allowed just in ESL. Example: Blok kódu |
---|
language | esl |
---|
theme | Confluence |
---|
| INT _colIdx
_colIdx := 2
SV.Persons[1]^_colIdx:=7 |
|
Structure item determined by column name | Object[index expression]^ItemName - Object - its value must be Structure type
- index expression - arbitrary expression, that gains a value of Integer type > 0
- ItemName - the name of the given item
Example: Blok kódu |
---|
language | esl |
---|
theme | Confluence |
---|
| SV.Persons[2]^Name |
|
...