Component Function call
Description
Passes control to a detached branch in the current script, starting with the component Label. A specific component is selected based on the dynamic matching of the `Label` property value of it and the current component. The property can be specified by a constant and an argument. Assumes that control is returned to the call point. For this purpose, the script interpreter saves the call information to a stack and uses it when the component Return of control. The return is always made to the last call point in the stack, so for the correct operation of the script it is necessary to ensure the correspondence of call points and control returns.
This allows you to break the script into regions with simple algorithms and eliminates the need to copy groups of components, call nested scripts, and stretch long branches of transitions.
For parameterization, an arbitrary variable can be set directly in the component. The value assigned is argument. The type conversion mechanism is used if the types of the argument value and the variable value do not coincide. Allows assigning values to multiple variables.
Index |
|
Short title |
|
Types of scenarios |
|
Starter module |
|
Mode |
Synchronous |
Icon |
![]() |
Branching pattern |
Non-branching |
Properties
Specification | Description |
---|---|
Title: |
Component operation mode by number of simultaneous assignment operations
|
Title: |
Variable - assignment for single assignment. |
Title: |
An argument supplying a value for a single assignment. |
Title: |
A list of sequential assignment operations where each variable is assigned a separate argument. |
Title: |
Component to which control is passed. |
See also
-
role svc
-
Go to mark (transfer control without returning to the call point)