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/Documentation/idldoc_assistant_output/Utilities/find.html

    r234 r242  
    6767 By default look for files included in !path 
    6868 
    69  all file_search keywords can be used. 
     69 all <proidl>file_search</proidl> keywords can be used. 
    7070 
    7171 
     
    7575      <a name="#_find"></a> 
    7676 
    77       <h2>find  <font size="-1" color="#006633">  
     77      <h2>find  <font size="-1" color="#006633"> 
    7878 find a file 
    7979</font></h2> 
    8080 
    81       <p><font face="Courier"><i>result = </i>find(<i><a href="#_find_keyword_filein">filein</a></i>, <a href="#_find_keyword_IODIRECTORY">IODIRECTORY</a>=<i>IODIRECTORY</i>, <a href="#_find_keyword_RECURSIVE">RECURSIVE</a>=<i>RECURSIVE</i>, <a href="#_find_keyword_REPERTOIRE">REPERTOIRE</a>=<i>REPERTOIRE</i>, <a href="#_find_keyword_NOPRO">NOPRO</a>=<i>NOPRO</i>, <a href="#_find_keyword_ONLYPRO">ONLYPRO</a>=<i>ONLYPRO</i>, <a href="#_find_keyword_ONLYNC">ONLYNC</a>=<i>ONLYNC</i>, <a href="#_find_keyword_UNIQUE">UNIQUE</a>=<i>UNIQUE</i>, <a href="#_find_keyword_FIRSTFOUND">FIRSTFOUND</a>=<i>FIRSTFOUND</i>, <a href="#_find_keyword_LOOKALLDIR">LOOKALLDIR</a>=<i>LOOKALLDIR</i>, <a href="#_find_keyword_TRYFIND">TRYFIND</a>=<i>TRYFIND</i>, <a href="#_find_keyword__EXTRA">_EXTRA</a>=<i>_EXTRA</i>)</font></p> 
    82  
    83      
    84  
    85  
    86     <h3>Return value</h3>  
     81      <p><font face="Courier"><i>result = </i>find(<i><a href="#_find_keyword_filein">filein</a></i>, <a href="#_find_keyword_IODIRECTORY">IODIRECTORY</a>=<i>scalar string or array of strings</i>, <a href="#_find_keyword_RECURSIVE">RECURSIVE</a>=<i>RECURSIVE</i>, <a href="#_find_keyword_REPERTOIRE">REPERTOIRE</a>=<i>REPERTOIRE</i>, <a href="#_find_keyword_NOPRO">NOPRO</a>=<i>NOPRO</i>, <a href="#_find_keyword_ONLYPRO">ONLYPRO</a>=<i>ONLYPRO</i>, <a href="#_find_keyword_ONLYNC">ONLYNC</a>=<i>ONLYNC</i>, <a href="#_find_keyword_UNIQUE">UNIQUE</a>=<i>UNIQUE</i>, <a href="#_find_keyword_FIRSTFOUND">FIRSTFOUND</a>=<i>FIRSTFOUND</i>, <a href="#_find_keyword_LOOKALLDIR">LOOKALLDIR</a>=<i>LOOKALLDIR</i>, <a href="#_find_keyword_TRYFIND">TRYFIND</a>=<i>TRYFIND</i>, <a href="#_find_keyword__EXTRA">_EXTRA</a>=<i>_EXTRA</i>)</font></p> 
     82 
     83     
     84 
     85 
     86    <h3>Return value</h3> 
    8787 A scalar or array variable of string type, containing the 
    8888 name (with the full path of the matching files. If no files 
    89  exist with names matching the input arguments, find returns 
     89 exist with names matching the input arguments, <a href=".//find.html">find</a> returns 
    9090 the scalar string : 'NOT FOUND' 
    9191 
     
    102102      <font size="-1" color="#006633">required</font> 
    103103       
    104        
    105        
    106        
    107     </h4> 
    108  
    109       
    110  A scalar or array variable of string type, containing 
    111  file names to match. Input names specifications may contain 
     104      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar string or array of strings</i></font> 
     105       
     106       
     107    </h4> 
     108 
     109     
     110 File name[s] to match. Input names specifications may contain 
    112111 wildcard characters, enabling them to match multiple files 
    113  (see file_search for more informations). By default and if 
    114  necessary, find is looking for filename and also for filename 
     112 (see <proidl>file_search</proidl> for more informations). By default and if 
     113 necessary, <a href=".//find.html">find</a> is looking for filename and also for filename 
    115114 completed with '.pro' 
    116115 
     
    129128       
    130129       
    131        
     130      <font size="-1" color="#006633">type:</font> <font size="-1" color="#006633"><i>scalar string or array of strings</i></font> 
    132131      <font size="-1" color="#006633">default:</font> <font size="-1" color="#006633"><i>['.',!path]</i></font> 
    133132       
    134133    </h4> 
    135134 
    136       
    137  A scalar or array variable of string type, containing 
    138  directories names where we are looking for the file. 
     135     
     136 Directories names where we are looking for the file. 
    139137 Different directories can be separated by 
    140138 path_sep(/search_path) (':' on unix type machine) as it is done 
     
    156154    </h4> 
    157155 
    158       
     156     
    159157 performs recursive searching of directory hierarchies. 
    160  In a recursive search, find looks recursively for any and all 
     158 In a recursive search, <a href=".//find.html">find</a> looks recursively for any and all 
    161159 subdirectories in the file hierarchy rooted at the IODIRECTORY argument. 
    162160 
     
    174172    </h4> 
    175173 
    176       
    177  obsolete. keep for compatibility, use directory keyword 
     174     
     175 obsolete. keep for compatibility, use IODIRECTORY keyword 
    178176 
    179177     
     
    190188    </h4> 
    191189 
    192       
     190     
    193191 activate to avoid the automatic search of filename completed with '.pro' 
    194192 
     
    206204    </h4> 
    207205 
    208       
     206     
    209207 force to look only at file ending with .pro 
    210208 
     
    222220    </h4> 
    223221 
    224       
     222     
    225223 force to look only at file ending with .nc 
    226224 
     
    238236    </h4> 
    239237 
    240       
     238     
    241239 activate to make sure that each element of the output vector is unique. 
    242240 
     
    254252    </h4> 
    255253 
    256       
     254     
    257255 activate this keyword to stop looking for the file as soon as we found one. 
    258256 
     
    270268    </h4> 
    271269 
    272       
     270     
    273271 activate to look for the file (with a recursive search if needed) 
    274272 in . iodir, homedir, !path + the DATA:TestsData directory if it exists. 
     
    287285    </h4> 
    288286 
    289       
    290  if the file was not found and this keyword is activated, find will call 
     287     
     288 if the file was not found and this keyword is activated, <a href=".//find.html">find</a>  
     289 will call 
    291290 itself with the keywords /LOOKALLDIR and /FIRSTFOUND to try to find 
    292291 the file we are looking for. Note that if the file was found at the 
    293  first try this keyword as no effect (which is not the case with LOOKALLDIR)  
     292 first try this keyword as no effect (which is not the case with LOOKALLDIR) 
    294293 
    295294     
     
    306305    </h4> 
    307306 
    308       
     307     
    309308 Used to pass keywords 
    310309 
     
    313312 
    314313    <h3>Examples</h3><pre> 
    315  
    316314 IDL> print, find('*loadct') 
    317315   /usr/local/rsi/idl_6.0/lib/utilities/xloadct.pro 
     
    342340     
    343341    <h4>Version</h4> 
    344  $Id: find.pro 232 2007-03-20 16:59:36Z pinsard $ 
     342 $Id: find.pro 239 2007-03-28 06:50:03Z smasson $ 
     343 
    345344    <h4>History</h4> 
    346345 Sebastien Masson (smasson@lodyc.jussieu.fr) 
Note: See TracChangeset for help on using the changeset viewer.