10.2.10 PATH_LIB


next up previous contents
Next: 10.2.11 PR_PATH_LIB Up: 10.2 File and Directory Previous: 10.2.9 PR_PATH

10.2.10 PATH_LIB

PATH_LIB will search directories in the IDL !path variable in the order of the list to find a given IDL program. The default is to only give the first instance that the file is found, but it is possible to get all locations by using the /multi switch. A wild card (`*') effectively sets the /multi switch). Same examples are:
IDL> path = path_lib()
 
IDL> path = path_lib('add*')

IDL> path = path_lib('yodat', /multi)


ydac@mssly1.mssl.ucl.ac.uk