Ignore:
Timestamp:
05/09/06 11:13:01 (18 years ago)
Author:
pinsard
Message:

upgrade of TEXT2IDL/TEXtoIDL according to cerbere.lodyc.jussieu.fr: /usr/home/smasson/SAXO_RD/ : files

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/ToBeReviewed/TEXtoIDL/nexttok.pro

    r44 r47  
    2929;       $Id$ 
    3030;       $Log: nexttok.pro,v $ 
     31;       Revision 1.4  2004/06/15 17:25:54  mcraig 
     32;       Fixed bug in regular expression, changed array notation to square brackets 
     33; 
    3134;       Revision 1.3  1996/06/14 20:00:27  mcraig 
    3235;       Updated Copyright info. 
     
    4043; 
    4144; RELEASE: 
    42 ;       $Name: Rel_1_2 $ 
     45;       $Name: Rel_2_1_2 $ 
    4346; 
    4447; COPYRIGHT: 
     
    101104    ENDIF  
    102105 
    103     MatchIdx = MatchIdx(1:*) 
    104     Matches = Matches(1:*) 
     106    MatchIdx = MatchIdx[1:*] 
     107    Matches = Matches[1:*] 
    105108 
    106109    SortInd = sort(Matches) 
    107110 
    108     Position = Matches(SortInd(0)) 
     111    Position = Matches[SortInd[0]] 
    109112 
    110     Tok = string(TmpTok(MatchIdx(SortInd(0)))) 
     113    Tok = string(TmpTok[MatchIdx[SortInd[0]]]) 
    111114     
    112115    return, Tok 
Note: See TracChangeset for help on using the changeset viewer.