topisafile io
Return value
the filename with its path
Parameters
filein
in
optional
Keywords
FILENAME
IODIRECTORY
NEW
RECURSIVE
ONLYPRO
ONLYNC
Examples
IDL> print, isafile('/Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro')
/Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro
IDL> print, isafile('cm_4mesh.pro', iodir = '/Users/sebastie/SAXO_RD/Commons')
/Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro
IDL> print, isafile('cm_4mesh.pro', iodir = !path)
/Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro
IDL> print, isafile('cm_4mesh.pro', iodir = '/Users/sebastie/SAXO_RD', /recursive)
/Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro
IDL> print, isafile('cm_4mesh.pro', iodir = getenv('HOME'), /recursive)
/Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro
IDL> print, isafile('fake_file.pro')
Version history
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
11/2/2000
June 2005: Sebastien Masson: cleaning, use for file_* functions