Creates a shared value, which is a value stored in the memory of the Magic xpa process. Once created, this value can be retrieved by all active contexts and new contexts.
|
Syntax:
|
SharedValSet(name, value)
|
Parameters:
|
name – The name of the shared value.
value – The value that can be returned.
|
Returns:
|
This function always returns True.
|
Example:
|
SharedValSet('RATIO', 0.34) creates a shared numeric value 0.34 with the name of RATIO.
|
Note:
|
|
See also:
|
GetParam
SetParam
The Online Samples project (program MT07 and MT08)
|