Call Subtask (Magic xpa 3.x)
A subtask is similar to a program used to invoke subroutines. The differences between called programs and subtasks are:
-
Programs share data through passed arguments, while subtasks inherit access to all their ancestor variables automatically.
-
Programs are reusable, while subtasks are permanently attached to their parent task and cannot be called by other tasks.
-
Subtasks do not have return values.
You can use the Call Subtask operation to:
-
Invoke subroutines
-
Implement one-to-many relationships
-
Implement pick list windows
-
Implement any type of pop-up windows
Note:
|
When working with a Call Subtask operation, you can easily jump to the subtask by opening the Options menu and selecting Go to Object. Once you are done, you can return to the Call Subtask operation by selecting Options > Return to Object.
|
The Call Subtask properties are:
Task ID
Arguments
Form
Lock
Sync Data
Condition (Cnd)
Call Operations
Call Properties