Call of function in ST
Syntax |
---|
|
Meaning | |
---|---|
formal call of the →function (= formal function →call) without or with parameter list
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. |
Example |
---|
|
Examples for incomplete parameter list of formal call for a function:
Syntax |
Meaning |
---|---|
|
declaration of the function declaration of the variables |
|
declaration of the function |
|
call of the function |
|
call of the function |
|
call of the function |
|
call of the function |
Examples for incomplete parameter list of formal call for the extensible AND
block:
Syntax |
Meaning |
---|---|
|
call of the function |
|
call of the function |
|
call of the function |