(Windows only)
Unloads a set of environment specifications from the current environment, which might be the registry or an initialization file.
Note: Does not apply to SpeedScript programming.
Syntax
UNLOAD environment [ NO-ERROR ]
|
-
environment
-
A character expression that evaluates to the name of an environment
that a prior LOAD statement specified.
- NO-ERROR
- The NO-ERROR option is used to
prevent the statement from raising ERROR and
displaying error messages.
Notes
- An application cannot UNLOAD a set of environment
specifications until it terminates all windows that use those specifications.
- If you UNLOAD the current environment, the default
environment becomes the current environment. To define a new current environment, use the
USE statement.
- Use the UNLOAD statement to clean up memory in
applications, such as the AppBuilder, that build and run other applications.