Standard library routine that returns the full pathname for a specified resource file.
'vdatools'
) Subdir
'american'
)
WAVE_RESPATH
.
UNIX Users: TheWAVE_RESPATH
environment variable is a colon-separated list of directories, similar to theWAVE_PATH
environment variable in PV-WAVE. If not found in aWAVE_RESPATH
directory, the directory/xres/!Lang/vdatools is searched, where
wavedir
is the main PV-WAVE directory and !Lang represents the value of the !Lang system variable (!Lang default is
wavedir
'american'
).
OpenVMS Users: TheWAVE_RESPATH
logical is a comma-separated list of directories and text libraries, similar to theWAVE_PATH
logical in PV-WAVE. If not found in aWAVE_RESPATH
directory, the directory:[XRES.!Lang.VDATOOLS] is searched, where
wavedir
is the main PV-WAVE directory and !Lang represents the value of the !Lang system variable (!Lang default is
wavedir
'american'
).
Windows Users: TheWAVE_RESPATH
environment variable is a semicolon-separated list of directories, similar to theWAVE_PATH
environment variable in PV-WAVE. If not found in aWAVE_RESPATH
directory, the directory\xres\!Lang\vdatools is searched, where
wavedir
is the main PV-WAVE directory and !Lang represents the value of the !Lang system variable (!Lang default is
wavedir
'american'
).
wavedir
/xres/subdir/vdatools
wavedir
:[XRES.SUBDIR.VDATOOLS]
wavedir
\xres\subdir\vdatools
wavedir
is the main PV-WAVE directory.If only Appdir is specified, the application searches for resources in the following directory:
wavedir
/xres/!Lang/appdir
wavedir
:[XRES.!Lang.APPDIR]
wavedir
\xres\!Lang\appdir
wavedir
is the main PV-WAVE directory.If both Subdir and Appdir are specified, the application searches for resources in the following directory:
wavedir
/xres/subdir/appdir
wavedir
:[XRES.SUBDIR.APPDIR]
wavedir
\xres\subdir\appdir
wavedir
is the main PV-WAVE directory.If the file is not already in the resource database, the full pathname is returned.
... resource_file = BUILDRESOURCEFILENAME('wzmyvda.ad') top = WwInit('WzMyVDA', 'VDATools', layout, $
'DestroyCB', Shell_name = 'WzMyVDA', $
Layout_name = 'toolArea', $
Title = unique_name, /Form, $
ConfirmClose = 'ConfirmClose', $
Resource = resource_file, $
Userdata = unique_name)
...
For information on environment variables and logicals used with PV-WAVE, see the PV-WAVE Programmer's Guide.