getValueNumber

getValueNumber

Gets the value of a key when that value is a number.

Method of

WinReg object

Syntax

Number getValueNumber ( String subkey, String valname);

Parameters

The getValueString method has the following parameters:

subkey
The key path to the appropriate location in the key hierarchy, such as "Software\\Netscape\\Navigator\\Mail".
valname
The name of the value-name/value pair whose value you want.

Returns

Number value of the specified key or null if there's an error, the value is not found, or the value is not a string.

Document Tags and Contributors

Contributors to this page: Sheppy, trevorh, Fredchat, Rod Whiteley
Last updated by: Sheppy,
Hide Sidebar