Changeset 238 for trunk/SRC/ForOldVersion/updatekwd.pro
- Timestamp:
- 03/27/07 15:43:18 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ForOldVersion/updatekwd.pro
r231 r238 7 7 ; @categories compatibility with previous version 8 8 ; 9 ; @examples 9 ; @examples 10 10 ; IDL> \@updatekwd 11 ; (must be insert as an include in a procedure or function) 11 ; (must be insert as an include in a procedure or function) 12 12 ; 13 13 ; @restrictions the compatibility can be made only if the keyword 14 14 ; given through _extra are given with their complete name 15 15 ; 16 ; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 16 ; @history 17 ; Sebastien Masson (smasson\@lodyc.jussieu.fr) 17 18 ; July 2005 18 ; @version $Id$ 19 ; @version 20 ; $Id$ 19 21 ; 20 22 ;- … … 41 43 old = strtrim(strlowcase(old[1:*]), 2) 42 44 new = strtrim(strlowcase(new[1:*]), 2) 43 ; 45 ; 44 46 ; what are the keywords of the present routine? 45 47 ; … … 64 66 FOR i = 0, n_elements(alltags)-1 DO BEGIN 65 67 isold = (where(old EQ alltags[i], count))[0] 66 IF count EQ 1 THEN BEGIN 68 IF count EQ 1 THEN BEGIN 67 69 dummy = where(kwds EQ new[isold], count) 68 IF count EQ 1 THEN BEGIN 70 IF count EQ 1 THEN BEGIN 69 71 dummy = execute(new[isold] + ' = ex.' + alltags[i]) 70 72 ; dummy = execute('ex = get_extra(' + new[isold] + ' = ex.' $
Note: See TracChangeset
for help on using the changeset viewer.