PV-WAVE Foundation > Programmer Guide > Creating an OPI Option > Adding an Option to the PV-WAVE Search Path
Adding an Option to the PV-WAVE Search Path
The lib subdirectory of any properly named and located Option directory is automatically appended to the !Path and !Option_Path system variables. This allows direct access to the PV‑WAVE procedures in the Option using PV‑WAVE’s loading mechanism.
The PV‑WAVE system variable !Option_Path must be set to point to specific Option(s). The !Option_Path system variable is used to locate the Option(s) shareable executable when an Option is loaded using the PV‑WAVE LOAD_OPTION procedure.
 
note
Multiple versions of an Option are not supported. If multiple directories with the same Option name are found in the directory pointed to by the RW_DIR environment variable/logical, only the Option with the highest version number is appended to the !Path and !Option_Path system variables.