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/translate_sub_super.pro

    r44 r47  
    4747;       $Id$ 
    4848;       $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; 
    4952;       Revision 1.4  1996/06/14 20:00:27  mcraig 
    5053;       Updated Copyright info. 
     
    5962; 
    6063; RELEASE: 
    61 ;       $Name: Rel_1_2 $ 
     64;       $Name: Rel_2_1_2 $ 
    6265; COPYRIGHT: 
    6366;  Copyright (C) 1996 The Regents of the University of California, All 
     
    131134;       display.  
    132135; LIBRARY FUNCTIONS CALLED: 
    133 ;       strtok      -- Text/string (mcraig) 
     136;       str_token      -- Text/string (mcraig) 
    134137;       sub_sup_idl -- contained in this file 
    135138; MODIFICATION HISTORY: 
    136139;       $Id$ 
    137140;       $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; 
    138144;       Revision 1.4  1996/06/14 20:00:27  mcraig 
    139145;       Updated Copyright info. 
     
    152158; 
    153159; RELEASE: 
    154 ;       $Name: Rel_1_2 $ 
     160;       $Name: Rel_2_1_2 $ 
    155161; 
    156162; COPYRIGHT: 
     
    219225; Our approach will be to grab the input string up to the next '^' or 
    220226; '_', then process the script we've found. 
    221     NewString=strtok(strn,Token) 
     227    NewString=str_token(strn,Token) 
    222228 
    223229    WHILE  strlen(strn) GT  0 DO  BEGIN 
     
    284290        IF ( pos NE -1 ) THEN BEGIN     ; more left to process      
    285291            NewString = NewString $ 
    286               + strtok(strn, Token)    
     292              + str_token(strn, Token)    
    287293        ENDIF ELSE BEGIN                ; we are done 
    288294            NewString = NewString + strn 
Note: See TracChangeset for help on using the changeset viewer.