ReadUInt - cApplication
Reads UInteger data from the Windows registry
Type: Function
Return Data Type: UInteger
Parameters
| Parameter | Type | Description |
|---|---|---|
| sSubKey | String | The name of the Subkey to read the value from |
| sValueName | String | The name of the Value to read data from |
| uDefault | UInteger | If the Value could not be read, then the function will return the value you place here |
Syntax
Function ReadUInt String sSubKey String sValueName UInteger uDefault Returns UInteger
Call Example
Get ReadUInt sSubKey sValueName uDefault to UIntegerVariable
Description
Use the ReadUInt function to read UInteger data from the Windows Registry. The base key that will be used is that returned by RegistryKeyString and you can specify a further subkey using the sSubKey parameter.
If you attempt to read a non-existent value, an error will be generated. Before trying to read a value, you should ensure that it exists using the ValueExists function.