Ignore:
Timestamp:
06/19/06 16:14:56 (18 years ago)
Author:
smasson
Message:

new compilation options (compile_opt idl2, strictarrsubs) in each routine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Textoidl/strcnt.pro

    r67 r114  
    5050FUNCTION Strcnt, strn, substrn, startpos, $ 
    5151                 HELP=Help 
     52; 
     53  compile_opt idl2, strictarrsubs 
     54; 
    5255 
    5356; Return to caller if error. 
     
    8891    IF strlen(substrn) EQ 1 THEN BEGIN 
    8992        tmpstrn = byte(TmpStrn) 
    90         count = n_elements(where(TmpStrn EQ (byte(substrn))(0)))  
     93        count = n_elements(where(TmpStrn EQ (byte(substrn))[0]))  
    9194    ENDIF ELSE BEGIN  
    9295        count = 0L 
Note: See TracChangeset for help on using the changeset viewer.