Reference Guide > I–L Routines > LOAD_OPTION Procedure
  

LOAD_OPTION Procedure
Explicitly loads an Option Programming Interface (OPI) optional module.
Usage
LOAD_OPTION, option_name
Input Parameters
option_name—(string) The name of the Option to be loaded.
Keywords
Load_Now—If specified and nonzero, all the procedures/functions from the Option are loaded. By default, the procedures/functions from the Option are loaded when they are referenced for the first time.
Discussion
The LOAD_OPTION procedure explicitly loads an OPI option. OPI options can be loaded explicitly by any PV‑WAVE user. 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, 'image' 
 
; No message is printed when the image option is loaded.
; To check that the option was loaded successfully call:
SHOW_OPTIONS
See Also
OPTION_IS_LOADED, SHOW_OPTIONS, UNLOAD_OPTION

Version 2017.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.