Chapter Contents

Previous

Next
Registry Component: _moveValue

Registry Component: _moveValue



Moves a value from one key to another


Syntax

Syntax

return = objectName._moveValue( fromkey, fromvalue,tokey,tovalue );
return = objectName._moveValue( fromkey, fromvalue, tokey,tovalue,replace );

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