Value Sync Service Functions: Register

Description:              Called by a tag in order to create a list of variables which are to be kept in sync.

Returns:                    Nothing (sets PtrRegisterDone when complete)

Usage:                       Script

Format:                      \ValueSyncService\Register(TagObj, PtrRegisterDone, TagVars)

Parameters:             TagObj    { Object value }  { required }  { no default }
          Object value of the tag.

                                    PtrRegisterDone     { Pointer (return value) }  { required }  { no default }
          Set to 1 to indicate that the variables have been synchronized.

                                    TagVars     { array of Variable Names }  { required }  { no default }
          The list of variables to be synchronized.