registry(<key> {,<num>} )
string
The text data of a Windows registry key value. A key value may contain several data items so this function can return multiple string values.
<key>
A string providing the registry key value whose data is to be retrieved.
Only registry entries with text data are available for retrieval. If the
key does not exist in the registry, the system numeric funcerr
is set to -1 and an empty string is returned. If <key>
ends in a /, then the unnamed (aka the "default") value for the
key is retrieved
<num>
Whether the issuing of an error message is to be suppressed in the event
of the entry not being available. A value of 1 will suppress the message.
The default is 0.
string ss[] = registry("HKEY_CURRENT_USER/SOFTWARE/Acme/Name")
On Unix systems, this function is a no-op and will set funcerr to -1.
Commands: |
|
Functions: |