Changeset 128 for trunk/SRC/Utilities/isafile.pro
- Timestamp:
- 07/06/06 16:32:02 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Utilities/isafile.pro
- Property svn:eol-style deleted
- Property svn:executable deleted
r121 r128 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; @file_comments same as find.pro except that as long as the file is 'NOT FOUND', 6 ; isafile calls dialog_pickfile, to ask the user to select a file. 5 ; @file_comments 6 ; same as find.pro except that as long as the file is 'NOT FOUND', 7 ; isafile calls dialog_pickfile, to ask the user to select a file. 7 8 ; 8 9 ; @categories io 9 10 ; 10 ;11 11 ; @param filein {in}{optional} a proposed name. If neither filein 12 12 ; input parameter of filename keyword are defined, … … 27 27 ; 28 28 ; @keyword RECURSIVE performs recursive searching of directory hierarchies. 29 ; In a recursive search, find looks recursively for any and all 29 ; In a recursive search, find looks recursively for any and all 30 30 ; subdirectories in the file hierarchy rooted at the IODIRECTORY 31 ; argument. 31 ; argument. 32 32 ; 33 33 ; @keyword _EXTRA used to pass your keywords … … 37 37 ; @returns the filename with its path 38 38 ; 39 ; @examples 39 ; @examples 40 40 ; 41 ; 41 ; IDL> print, isafile('/Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro') 42 42 ; /Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro 43 ; 43 ; IDL> print, isafile('cm_4mesh.pro', iodir = '/Users/sebastie/SAXO_RD/Commons') 44 44 ; /Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro 45 ; 45 ; IDL> print, isafile('cm_4mesh.pro', iodir = !path) 46 46 ; /Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro 47 ; 47 ; IDL> print, isafile('cm_4mesh.pro', iodir = '/Users/sebastie/SAXO_RD', /recursive) 48 48 ; /Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro 49 ; 49 ; IDL> print, isafile('cm_4mesh.pro', iodir = getenv('HOME'), /recursive) 50 50 ; /Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro 51 ; 51 ; IDL> print, isafile('fake_file.pro') 52 52 ; 53 53 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr)
Note: See TracChangeset
for help on using the changeset viewer.