UNLOAD_OPTION Procedure

Explicitly unloads an Option Programming Interface (OPI) optional module.

Usage

UNLOAD_OPTION, option_name 

Input Parameters

option_name—A string containing the name of the option to be unloaded.

Keywords

None.

Discussion

The UNLOAD_OPTION procedure explicitly unloads a previously loaded OPI option. All resources used for the OPI option are freed. OPI options can be loaded explicitly by any PV‑WAVE user using the LOAD_OPTION procedure. These optional modules can be written in C or FORTRAN, and can contain new system functions or other primitives. For detailed information on creating OPI options, see the PV‑WAVE Application Developer’s Guide.

Example

LOAD_OPTION, 'xml' 
LOAD_OPTION, 'image' 
PRINT, '--- Currently loaded modules:'
SHOW_OPTIONS
; Unload the xml module
UNLOAD_OPTION, 'xml'
; Show the options that are still loaded.
PRINT, '--- Currently loaded modules:'
SHOW_OPTIONS

See Also

LOAD_OPTION, OPTION_IS_LOADED, SHOW_OPTIONS