(Windows only)
Creates application defaults, involving colors, fonts, environment variables, etc., or loads existing defaults, to a graphical or character application.
Specifically, the LOAD statement:
For more information on application defaults, see the chapter on colors and fonts in OpenEdge Development: Programming Interfaces.
LOAD environment [ DIR directory ] [ APPLICATION ] [ NEW ] [ BASE-KEY { key-name | "INI" } ] [ NO-ERROR ] |
A CHARACTER expression that evaluates to one of the following:
A CHARACTER expression that evaluates to the directory path of one of the following:
If you omit this option, LOAD looks for an existing initialization file, or creates a new initialization file, in the working directory. The pathname can contain Unicode characters. See OpenEdge Development: Internationalizing Applications for more information about Unicode.
Bypasses the standard search rules.
If you specify BASE-KEY key-name, LOAD looks for or creates the environment in the registry only under base key key-name.
If you specify BASE-KEY "INI" (the quotes are required), LOAD looks for or creates only the initialization file environment.
If found, load it.
If found, load it.
If found, load it.
If found, load it.
If found, load it.
If found, load it.
If found, load it.
If found, load it.
If found, load it.
If found, load it.
If found, load it.
Else search the registry under HKEY_LOCAL_MACHINE for SOFTWARE\rootname.
If found, load it.
If found, load it.
Registry base keys are as follows: