SetInstanceName

Description:              Set the name of an instance of a module.

Returns:                    Nothing

Usage:                   Script or Steady State

Format:                      SetInstanceName(Instance, Name)

Parameters:             Instance    { Object value }  { required }  { no default: }

                                                The object value for which the name is to be assigned.

                                    Name    { text }  { required }  { no default: }

                                                The text string name of the instance.

Comments:               Retained variables have been added to VTS 7.0, allowing each separate instance of a module to retain its value on disk between VTS executions or between instantiations of the module. Each instance must be assigned a name, and this SetInstanceName() function provides this facility.