<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > Registry > Registry_SetTxtNum |
Description
Set a text registry value containing the string for of the passed value.
Syntax
n = Registry_SetTxtNum(HKEY, MainKey, KeyName, nValue)
Returns
Number. %TRUE in case of success.
Parameters
Name |
Type |
Optional |
Meaning |
HKEY |
String |
No |
Can be one of the following strings: "HKEYCR" (%HKEY_CLASSES_ROOT) "HKEYCU" (%HKEY_CURRENT_USER) "HKEYLM" (%HKEY_LOCAL_MACHINE) "HKEYU" (%HKEY_USERS) "HKEYCC" (%HKEY_CURRENT_CONFIG) |
MainKey |
String |
No |
The requested key path |
KeyName |
String |
No |
Name of the value to query |
nValue |
Number |
No |
Value to store |
Remarks
Restrictions
See also
Examples