Chapter Contents

Previous

Next
Registry Component: _copyValue

Registry Component: _copyValue



Copies a value from one key to another


Syntax

Syntax

return = objectName._copyValue( fromkey, fromval,tokey,toval );
return = objectName._copyValue( fromkey, fromval, tokey,toval,replace );

Argument Type Use Description
return Numeric Return returns a value indicating whether the copy was successful: 1 if successful, 0 if not successful
fromkey Numeric Input specifies the source key handle from which to copy: a currently open key, a root key, or 0. If 0 is specified, the user root is assumed.
fromval Character Input specifies the name of an existing value to copy
tokey Numeric Input specifies the target key to copy to: a currently open key, a root key, or 0. If 0 is specified, the user root is assumed.
toval Character Input specifies then ame of the value to copy to
replace Character Input specifies whether source key and values under the target key are replaced: NOREPLACE will not replace them, a blank passed in will replace them


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.