Chapter Contents

Previous

Next
Registry Component: _copyKey

Registry Component: _copyKey



Copies the contents of a key to another key


Syntax

Syntax

return = objectName._copyKey( from, to );
return = objectName._copyKey( from, to, replace );

Argument Type Use Description
return Numeric Return returns a value indicating whether the copy was successful: 1 if successful, 0 if not successful
from Numeric Input specifies the source key from which to copy: a currently open key, a root key, or 0. If 0 is specified, the user root is assumed.
to Numeric Input specifies the target key handle to copy to: a currently open key, a root key, or 0. If 0 is specified, the user root is assumed.
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.