Ignore:
Timestamp:
04/06/07 10:35:17 (17 years ago)
Author:
pinsard
Message:

improvements/corrections of some *.pro headers + replace some message by some report

File:
1 edited

Legend:

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

    r239 r242  
    77; By default look for files included in !path 
    88; 
    9 ; all file_search keywords can be used. 
     9; all <proidl>file_search</proidl> keywords can be used. 
    1010; 
    1111; @categories 
    1212; find a file 
    1313; 
    14 ; @param FILEIN {in}{required} 
    15 ; A scalar or array variable of string type, containing 
    16 ; file names to match. Input names specifications may contain 
     14; @param FILEIN {in}{required} {type=scalar string or array of strings} 
     15; File name[s] to match. Input names specifications may contain 
    1716; wildcard characters, enabling them to match multiple files 
    18 ; (see file_search for more informations). By default and if 
    19 ; necessary, find is looking for filename and also for filename 
     17; (see <proidl>file_search</proidl> for more informations). By default and if 
     18; necessary, <pro>find</pro> is looking for filename and also for filename 
    2019; completed with '.pro' 
    2120; 
     
    2322; activate this keyword to stop looking for the file as soon as we found one. 
    2423; 
    25 ; @keyword IODIRECTORY {default=['.',!path]} 
    26 ; A scalar or array variable of string type, containing 
    27 ; directories names where we are looking for the file. 
     24; @keyword IODIRECTORY {type=scalar string or array of strings} {default=['.',!path]} 
     25; Directories names where we are looking for the file. 
    2826; Different directories can be separated by 
    2927; path_sep(/search_path) (':' on unix type machine) as it is done 
     
    4745; @keyword RECURSIVE 
    4846; performs recursive searching of directory hierarchies. 
    49 ; In a recursive search, find looks recursively for any and all 
     47; In a recursive search, <pro>find</pro> looks recursively for any and all 
    5048; subdirectories in the file hierarchy rooted at the IODIRECTORY argument. 
    5149; 
    5250; @keyword REPERTOIRE 
    53 ; obsolete. keep for compatibility, use directory keyword 
     51; obsolete. keep for compatibility, use IODIRECTORY keyword 
    5452; 
    5553; @keyword UNIQUE 
     
    5755; 
    5856; @keyword TRYFIND 
    59 ; if the file was not found and this keyword is activated, find will call 
     57; if the file was not found and this keyword is activated, <pro>find</pro>  
     58; will call 
    6059; itself with the keywords /LOOKALLDIR and /FIRSTFOUND to try to find 
    6160; the file we are looking for. Note that if the file was found at the 
     
    6867; A scalar or array variable of string type, containing the 
    6968; name (with the full path of the matching files. If no files 
    70 ; exist with names matching the input arguments, find returns 
     69; exist with names matching the input arguments, <pro>find</pro> returns 
    7170; the scalar string : 'NOT FOUND' 
    7271; 
    7372; @examples 
    74 ; 
    7573; IDL> print, find('*loadct') 
    7674;   /usr/local/rsi/idl_6.0/lib/utilities/xloadct.pro 
     
    106104; @version 
    107105; $Id$ 
     106; 
    108107;- 
    109108; 
     
    112111               , ONLYNC = onlync, UNIQUE = unique, FIRSTFOUND = firstfound $ 
    113112               , LOOKALLDIR = LOOKALLDIR, TRYFIND = tryfind, _EXTRA = ex 
    114 ; define where we look for the file 
    115113; 
    116114  compile_opt idl2, strictarrsubs 
    117115; 
     116; define where we look for the file 
    118117  cd, current = current 
    119118  current = (file_search(current, /test_directory, /mark_directory))[0] 
Note: See TracChangeset for help on using the changeset viewer.