4. Read the registry

[<<<] [>>>]

a = nt::RegRead("HKLM\\Software\\ScriptBasic\\config")

This function reads a registry entry and returns the value of the entry or undef if the entry does not ex-ists or if it is not readable by the interpreter process/thread.

If the argument string specifies a key and the last character of the argument is \ then the default value for the key is retrieved. Note that HKLM\Software\ScriptBasic can have a subkey named config as well as a value named config. The string "HKLM\\Software\\ScriptBasic\\config" refers to the value while "HKLM\\Software\\ScriptBasic\\config\\" refers to the default value of the subkey.


[<<<] [>>>]