Ignore:
Timestamp:
03/19/07 18:15:51 (17 years ago)
Author:
pinsard
Message:

improvements/corrections of some *.pro headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/WIDGET/AUTOUR_de_XXX/cutcmd.pro

    r192 r231  
    11;+ 
     2; 
    23; @file_comments 
    3 ; 
    44; 
    55; @categories 
    66; 
    7 ;  
    87; @param WIDCMD 
    9 ; 
    108; 
    119; @param TOREAD 
    1210; 
    13 ; 
    1411; @param NUMBEROFREAD 
    15 ; 
    1612; 
    1713; @param PREFIX 
    1814; 
    19 ; 
    2015; @param NAMEEXP 
    21 ; 
    2216; 
    2317; @param ENDING 
    2418; 
    25 ;  
    2619; @returns 
    27 ;  
    28 ;  
     20; 
    2921; @uses 
    30 ;  
    31 ;  
     22; 
    3223; @restrictions 
    33 ;  
    34 ;  
     24; 
    3525; @examples 
    36 ;  
    37 ;  
     26; 
    3827; @history 
    39 ;  
    40 ;  
    41 ; @version  
     28; 
     29; @version 
    4230; $Id$ 
    43 ;  
     31; 
    4432; @todo 
    4533; seb 
    4634; 
    4735;- 
     36; 
    4837PRO cutcmd, widcmd, toread, numberofread, prefix, nameexp, ending 
    49 ; 
    5038; 
    5139  compile_opt idl2, strictarrsubs 
    5240; 
    53   dummy = where(byte(widcmd) EQ (byte('"'))[0], nbdblquote)  
     41  dummy = where(byte(widcmd) EQ (byte('"'))[0], nbdblquote) 
    5442  CASE 1 OF 
    5543    nbdblquote MOD 2: stop ; odd numbers are impossibles... 
     
    7260      IF n_elements(separator) NE n_elements(other) THEN stop 
    7361      widcmd = '' 
    74       FOR i = 0, n_elements(other)-1 DO BEGIN  
     62      FOR i = 0, n_elements(other)-1 DO BEGIN 
    7563        IF isnumber(other[i]) LT 1 THEN other[i] = '"' + other[i] + '"' 
    7664        widcmd = widcmd + separator[i] + other[i] 
    7765      ENDFOR 
    7866;      print, widcmd 
    79     END  
     67    END 
    8068  ENDCASE 
    8169 
     
    8371  IF strpos(widcmd, '"') EQ 0 THEN start = 0 ELSE start = 1 
    8472  nameexp = cutted[start:*:2] 
    85   numberofread = n_elements(nameexp)  
     73  numberofread = n_elements(nameexp) 
    8674  IF toread GE numberofread then begin 
    8775    dummy = report('toread cannot be larger than numberofread') 
Note: See TracChangeset for help on using the changeset viewer.