Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%SetRegValue function


Function
The function writes given value into the Windows system registry.
Declaration


Blok kódu
languageesl
themeConfluence
BOOL %SetRegValue(
   TEXT in keyNameStr, 
        in Value
 )
Parameters


keyNameStrKey name in the Registry.
ValueValue 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:

 


Blok kódu
languageesl
themeRDark
BOOL _bOk
 _bOk := %SetRegValue("HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Excel\Options\OPEN","hodnota")