Changeset 47 for trunk/ToBeReviewed/TEXtoIDL/translate_sub_super.pro
- Timestamp:
- 05/09/06 11:13:01 (18 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/ToBeReviewed/TEXtoIDL/translate_sub_super.pro
r44 r47 47 47 ; $Id$ 48 48 ; $Log: translate_sub_super.pro,v $ 49 ; Revision 1.5 2000/06/14 19:09:22 mcraig 50 ; Changed name of strtok str_token to avoid conflict in IDL 5.3. 51 ; 49 52 ; Revision 1.4 1996/06/14 20:00:27 mcraig 50 53 ; Updated Copyright info. … … 59 62 ; 60 63 ; RELEASE: 61 ; $Name: Rel_ 1_2 $64 ; $Name: Rel_2_1_2 $ 62 65 ; COPYRIGHT: 63 66 ; Copyright (C) 1996 The Regents of the University of California, All … … 131 134 ; display. 132 135 ; LIBRARY FUNCTIONS CALLED: 133 ; str tok-- Text/string (mcraig)136 ; str_token -- Text/string (mcraig) 134 137 ; sub_sup_idl -- contained in this file 135 138 ; MODIFICATION HISTORY: 136 139 ; $Id$ 137 140 ; $Log: translate_sub_super.pro,v $ 141 ; Revision 1.5 2000/06/14 19:09:22 mcraig 142 ; Changed name of strtok str_token to avoid conflict in IDL 5.3. 143 ; 138 144 ; Revision 1.4 1996/06/14 20:00:27 mcraig 139 145 ; Updated Copyright info. … … 152 158 ; 153 159 ; RELEASE: 154 ; $Name: Rel_ 1_2 $160 ; $Name: Rel_2_1_2 $ 155 161 ; 156 162 ; COPYRIGHT: … … 219 225 ; Our approach will be to grab the input string up to the next '^' or 220 226 ; '_', then process the script we've found. 221 NewString=str tok(strn,Token)227 NewString=str_token(strn,Token) 222 228 223 229 WHILE strlen(strn) GT 0 DO BEGIN … … 284 290 IF ( pos NE -1 ) THEN BEGIN ; more left to process 285 291 NewString = NewString $ 286 + str tok(strn, Token)292 + str_token(strn, Token) 287 293 ENDIF ELSE BEGIN ; we are done 288 294 NewString = NewString + strn
Note: See TracChangeset
for help on using the changeset viewer.