MakeNonShared
(Engine-Level Function)
Description: | Takes a shared variable and makes it not shared. |
Returns: | Nothing |
Usage: | Script or steady state. |
Function Groups: | Compilation and On-Line Modifications, Variable |
Related to: | AddVariable | FindVariable | MakeNonPersistent | MakePersistent | MakeShared |
Format: | MakeNonShared(Variable) |
Parameters: |
Variable |
Required. Any expression for the variable value. This value is typically returned from a FindVariable or an AddVariable call. |
Comments: | A shared variable has the same value for all instances of its owning module. An instance will be created for the variable in every running instance where the variable is used. The instance will be initialized with the value of the shared variable. If Variable is a module value, it will be unaffected. |