CALL_INSTANCE
|
Syntax: |
CALL_INSTANCE <Program> <Program> = <NAME> |
||
|
Meaning: |
CALL_INSTANCE calls
a new instance of the subprogram <Program>. After the called subprogram has finished,
program execution continues with the next instruction after CALL_INSTANCE. CALL_INSTANCE calls
always a new instance of the subprogram <Program>, while the
Instruction CALL checks whether an instance of <Program> exists which
has finished (i.e. the subprogram has been started once or serveral times and
has always finished). If such an instance is found, CALL starts this instance
of the subprogram again, otherwise CALL creates a new instance of the subprogram
and calles it. |
||
|
Parameter: |
|
||
|
Sample: |
CALL_INSTANCE UPROG1 |
||
|
See also: |
|