Changeset 93 for trunk/SRC/Utilities/isadirectory.pro
- Timestamp:
- 06/07/06 19:12:14 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Utilities/isadirectory.pro
r11 r93 3 3 ;------------------------------------------------------------ 4 4 ;+ 5 ; NAME:isadirectory 6 ; 7 ; PURPOSE:check if a directory exists and make sure that it ends 5 ; check if a directory exists and make sure that it ends 8 6 ; with the directory separator mark. 9 7 ; 10 ; CATEGORY:io8 ; @categories io 11 9 ; 12 ; CALLING SEQUENCE: directory=isadirectory([dirname]) 13 ; 14 ; INPUTS:optional:a proposed directory. If neither dirname 10 ; @param directoryin {in}{optional} a proposed directory. If neither dirname 15 11 ; input parameter of IODIRECTORY keyword are defined, 16 12 ; the ask the user to choose a directory. 17 13 ; 18 ; KEYWORD PARAMETERS:14 ; @keyword IODIRECTORY a proposed directory 19 15 ; 20 ; IODIRECTORY:a proposed directory16 ; @keyword TITLE the title of the window 21 17 ; 22 ; TITLE = the title of the window18 ; @file_comments all dialog_pickfile keywords (like filter) can be used. 23 19 ; 24 ; all dialog_pickfile keywords (like filter)20 ; @returns the directory name 25 21 ; 26 ; OUTPUTS: the directory name 27 ; 28 ; COMMON BLOCKS:none 29 ; 30 ; SIDE EFFECTS: 31 ; 32 ; RESTRICTIONS: 33 ; 34 ; EXAMPLE: 22 ; @examples 35 23 ; 36 24 ; IDL> print, !dir … … 40 28 ; IDL> print, isadirectory(!dir+'notgood') 41 29 ; 42 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr)30 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 43 31 ; June 28, 2000 44 32 ; June 2005: Sebastien Masson: cleaning, use for file_* functions … … 72 60 ; 73 61 END 74 75 76 77
Note: See TracChangeset
for help on using the changeset viewer.