Ignore:
Timestamp:
03/16/07 10:22:26 (17 years ago)
Author:
pinsard
Message:

corrections of some misspellings in some *.pro

Location:
trunk/SRC/ToBeReviewed/STRUCTURE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/STRUCTURE/extractstru.pro

    r163 r226  
    1313; 
    1414; @param LISTE {in}{required}{type=vector} 
    15 ; A vector of string including names of STRU to be deleted  
     15; A vector of string including names of STRU to be deleted 
    1616; (by default) or to be kept (if KEEP is activated). 
    1717; 
     
    4848; @version 
    4949; $Id$ 
    50 ;  
     50; 
    5151;- 
    5252;------------------------------------------------------------ 
     
    5959   if size(stru, /type) NE 8 then return,  -1 
    6060   if size(liste, /type) NE 7 then return,  -1 
    61 ; cheking for keep and vire keywords 
     61; checking for keep and vire keywords 
    6262   keep = keyword_set(keep)*(1-keyword_set(delete)) 
    6363   delete = keyword_set(delete)*(1-keyword_set(keep)) +(keyword_set(delete) EQ keep) 
     
    8080      if n_elements(index) GT 1 then for i = 1, n_elements(index)-1 do $ 
    8181            res = create_struct(res, tname[index[i]], stru.(index[i])) 
    82    ENDELSE  
     82   ENDELSE 
    8383 
    8484   return, res 
  • trunk/SRC/ToBeReviewed/STRUCTURE/struct2string.pro

    r163 r226  
    33;------------------------------------------------------------ 
    44;+ 
    5 ;  
     5; 
    66; @file_comments 
    77; Convert a structure to an "executable string" 
     
    99; @categories 
    1010; Utilities 
    11 ;  
     11; 
    1212; @param STRUCT {in}{required} 
    1313; A structure 
     
    1515; @keyword MAX_STRUCT_LENGTH {default=10000l} 
    1616; The maximum length of the structure 
    17 ; permetted to convert the structure to string. 
     17; permitted to convert the structure to string. 
    1818; 
    1919; @keyword DIRECT2STRING 
     
    3131;      create_struct('NAME','X','X_SIZE',891,'Y_SIZE',630,'X_VSIZE' 
    3232;      ,891,'Y_VSIZE',630,'X_CH_SIZE',6,'Y_CH_SIZE',10,'X_PX_CM' 
    33 ;      ,40.0000,'Y_PX_CM',40.0000,'N_COLORS',16777216,'TABLE_SIZE'  
     33;      ,40.0000,'Y_PX_CM',40.0000,'N_COLORS',16777216,'TABLE_SIZE' 
    3434;      ,256,'FILL_DIST',1,'WINDOW',32,'UNIT',0,'FLAGS',328124,'ORIGIN' 
    3535;      ,[0,0],'ZOOM',[1,1]) 
     
    4646;------------------------------------------------------------ 
    4747;------------------------------------------------------------ 
    48 FUNCTION struct2string, struct, CUT_IN_STRING = cut_in_string, MAX_STRUCT_LENGTH = max_struct_length, DIRECT2STRING = direct2string  
     48FUNCTION struct2string, struct, CUT_IN_STRING = cut_in_string, MAX_STRUCT_LENGTH = max_struct_length, DIRECT2STRING = direct2string 
    4949; 
    5050  compile_opt idl2, strictarrsubs 
     
    6565            endfor 
    6666         endif 
    67           
     67 
    6868      END 
    6969      keyword_set(CUT_IN_STRING):BEGIN 
Note: See TracChangeset for help on using the changeset viewer.