Ignore:
Timestamp:
06/07/06 19:12:14 (18 years ago)
Author:
pinsard
Message:

start to modify headers of Calendar and Utilities *.pro files for bet
ter idldoc output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Utilities/isafile.pro

    r69 r93  
    33;------------------------------------------------------------ 
    44;+ 
    5 ; NAME: isafile 
    6 ; 
    7 ; PURPOSE: same as find.pro except that as long as the file is 'NOT FOUND', 
     5; same as find.pro except that as long as the file is 'NOT FOUND', 
    86;          isafile calls dialog_pickfile, to ask the user to select a file. 
    97; 
    10 ; CATEGORY: io 
     8; @categories io 
    119; 
    12 ; CALLING SEQUENCE:filename = isafile([filein]) 
    1310;  
    14 ; INPUTS:optional:a proposed name. If neither filein 
     11; @param filein {in}{optional} a proposed name. If neither filein 
    1512;        input parameter of filename keyword are defined, 
    1613;        the ask the user to choose a file. 
    1714; 
    18 ; KEYWORD PARAMETERS: 
     15; @keyword FILENAME a proposed filename. 
    1916; 
    20 ;     FILENAME: a proposed filename. 
    21 ; 
    22 ;     IODIRECTORY: a directory where we look for the file. this 
     17; @keyword IODIRECTORY a directory where we look for the file. this 
    2318;           keyword is taken into account only if the dirmame 
    2419;           of filein or filename is '.' 
    2520; 
    26 ;     /NEW:to specify that filename is a new file and that 
     21; @keyword /NEW to specify that filename is a new file and that 
    2722;        we should check only its path 
    2823; 
    29 ;     ONLYPRO:force to look only at file ending with .pro 
     24; @keyword ONLYPRO force to look only at file ending with .pro 
    3025; 
    31 ;     ONLYNC:force to look only at file ending with .nc 
     26; @keyword ONLYNC force to look only at file ending with .nc 
    3227; 
    33 ;     RECURSIVE: performs recursive searching of directory hierarchies. 
     28; @keyword RECURSIVE performs recursive searching of directory hierarchies. 
    3429;        In a recursive search, find looks recursively for any and all  
    3530;        subdirectories in the file hierarchy rooted at the IODIRECTORY 
    3631;        argument.  
    3732; 
    38 ;     all find, file_search and dialog_pickfile keywords (like title) 
     33; @file_comments all find, file_search and dialog_pickfile keywords (like title) 
     34can be used 
    3935; 
    40 ; OUTPUTS:the filename with its path 
     36; @returns the filename with its path 
    4137; 
    42 ; COMMON BLOCKS:none 
    43 ; 
    44 ; SIDE EFFECTS: 
    45 ; 
    46 ; RESTRICTIONS: 
    47 ; 
    48 ; EXAMPLE: 
     38; @examples  
    4939; 
    5040;  IDL> print, isafile('/Users/sebastie/SAXO_RD/Commons/cm_4mesh.pro') 
     
    6050;  IDL> print, isafile('fake_file.pro') 
    6151; 
    62 ; MODIFICATION HISTORY:Sebastien Masson (smasson@lodyc.jussieu.fr) 
     52; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    6353;                      11/2/2000 
    6454; June 2005: Sebastien Masson: cleaning, use for file_* functions 
Note: See TracChangeset for help on using the changeset viewer.