topisafile
Input/Output
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
Version
$Id: isafile.pro 327 2007-12-13 16:22:35Z pinsard $
History
Sebastien Masson (smasson@lodyc.jussieu.fr)
11/2/2000
June 2005: Sebastien Masson: cleaning, use for file_* functions
Statistics
McCabe cyclic | 14 |
McCabe essential | 1 |
McCabe modular design | 1 |