The function writes given value into the Windows system registry.
Declaration
Blok kódu
language
esl
theme
Confluence
BOOL %SetRegValue(
TEXT in keyNameStr,
in Value
)
Parameters
keyNameStr
Key name in the Registry.
Value
Value to write.
Return value
@TRUE on success.
Note
The function will write the given value into the registry. The name of the written key is keyNameStr. If the key does not exist, the function generates it. There are supported the The following types of values to write are supported:
Bool
Text
Integer
Example
In the following example, there is performed the writing the value HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Excel\Options\OPEN into the registry is performed: