Copy Global Parameters (Magic xpa 3.x)
The Copy Global Parameters property governs how the global parameters (such as those defined by the SetParam function) are initialized in the new context.
This property is enabled when the Parallel Execution property is selected.
Selecting this property will enable you to copy the current values of the global parameters to the new context. From then on, they will exist separately. Modifying a variable in one context will have no effect on another context.
If the program is called from a request, the parameters will be copied from the “main” context.
If the program is called from a menu, the parameters will be copied from the “main” context or from the current context, according to the Source Context menu property.
The SharedValGet and SharedValSet functions will enable you to use one parameter for all contexts.
Note:
-
Variables with a BLOB attribute that contains a Java pseudo reference will be Initiated according to the Init property.
-
Variables with a BLOB attribute that contains an OLE reference will not be copied. If the Instantiation property is set to Auto, a new handle will be created in the new context.