Call of method in ST
Syntax |
---|
|
Meaning | |
---|---|
formal call of the →method without or with a parameter list
The possibilities for the parameter list are analogous to the call of a function. This parameter list of a formal →call may contain the following elements:
As alternatives, you can use the following variants for the call:
The FAQ article "When to use a formal call? When to use a non-formal call?" lists a table when to use formal call vs. non-formal call. |
An example for an internal call of a method with a parameter list but without EN
/ENO
is listed under "Declaration of a method".An example for the different calls of methods (using THIS.
, SUPER.
and instance-name.
) is listed under "Declaration of a function block in ST".