Changeset 47 for trunk/ToBeReviewed/TEXtoIDL/nexttok.pro
- Timestamp:
- 05/09/06 11:13:01 (18 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/ToBeReviewed/TEXtoIDL/nexttok.pro
r44 r47 29 29 ; $Id$ 30 30 ; $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 ; 31 34 ; Revision 1.3 1996/06/14 20:00:27 mcraig 32 35 ; Updated Copyright info. … … 40 43 ; 41 44 ; RELEASE: 42 ; $Name: Rel_ 1_2 $45 ; $Name: Rel_2_1_2 $ 43 46 ; 44 47 ; COPYRIGHT: … … 101 104 ENDIF 102 105 103 MatchIdx = MatchIdx (1:*)104 Matches = Matches (1:*)106 MatchIdx = MatchIdx[1:*] 107 Matches = Matches[1:*] 105 108 106 109 SortInd = sort(Matches) 107 110 108 Position = Matches (SortInd(0))111 Position = Matches[SortInd[0]] 109 112 110 Tok = string(TmpTok (MatchIdx(SortInd(0))))113 Tok = string(TmpTok[MatchIdx[SortInd[0]]]) 111 114 112 115 return, Tok
Note: See TracChangeset
for help on using the changeset viewer.