UNLOAD statement
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
(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
|
- environment
-
A character expression that evaluates to the name of an environment that a prior
LOADstatement specified. - NO-ERROR
- The NO-ERROR option is used to
prevent the statement from raising
ERRORand displaying error messages.
Notes
- An application cannot
UNLOADa set of environment specifications until it terminates all windows that use those specifications. - If you
UNLOADthe current environment, the default environment becomes the current environment. To define a new current environment, use theUSEstatement. - Use the
UNLOADstatement to clean up memory in applications, such as the AppBuilder, that build and run other applications.