® - Retrieve a registry value (with default)
® root subkey default
® retrieves the value of a node defined by root/subkey from the registry. The node name is specified in two components, typically required when iterating over a registry tree, where the root component is static and the subkey is dynamic, subkey may be specified as the null string ("") if an absolute registry path is specified.
The default value is the value of the node to return if the registry node does not exist.
The following example is taken from me.emf and uses the registry to retrieve some of the default configuration files:
; Load in the color setup !force execute-file ® "/history" &cat $platform "/color" "color" ; execute company setup !if ¬ &seq &set #l0 ® "/history" "company" "" "" !force execute-file #l0 !endif
(c) Copyright JASSPA 1999
Last Modified: 1998/08/27
Generated On: 1999/12/01