Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

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 typeOperand syntax
Object name
Object name including prefix and suffix.

Example:
Blok kódu
languageesl
themeConfluence
M.POUT1TOut1; P.Speed; U.Transporter1Start


Numeric constant
Integer or real constants. Real constants must contain the decimal point.

Example:
Blok kódu
languageesl
themeConfluence
29; 5.25


System symbolic constant
The symbol “@” is placed before their names in expressions.

Example:
Blok kódu
languageesl
themeConfluence
@TRUE; @Crash


Object value attribute
They are shown behind the object name, separated from the name by the backslash "\".

Example:
Blok kódu
languageesl
themeConfluence
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
languageesl
themeConfluence
%SQRT(X2); %MAXR(T1,T2,T3)


Value array itemArrayName[index]
  • index – integer number or expression of Integer type
Kotva
polozka
polozka
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
languageesl
themeConfluence
 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
languageesl
themeConfluence
SV.Persons[2]^Name


...