Ignore:
Timestamp:
07/05/06 16:37:26 (18 years ago)
Author:
pinsard
Message:

Add svn:keyword Id ForOldVersion/?*.pro

Location:
trunk/SRC/ForOldVersion
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ForOldVersion/keep_compatibility.pro

    • Property svn:executable deleted
    • Property svn:keywords set to Id
    r116 r122  
    11;+ 
    2 ; @file_comments  
     2; @file_comments 
    33;   1) define key_forgetold = 1b - keyword_set(flag) 
    44;   2) remove all oldcm_used.pro found in !path 
     
    88; @categories compatibility with old version 
    99; 
    10 ; @examples 
    11 ; IDL> keep_compatibility [, flag] 
    12 ; 
    1310; @param flag {in}{optional} 1 or 0 to keep or forget the compatibility 
    1411; 
    15 ; uses cm_general 
     12; @uses cm_general 
    1613; 
    17 ; @restrictions copy oldcm_full or oldcm_empty must be found in the 
    18 ; !path. dir must also be in the !path 
     14; @restrictions 
     15; copy oldcm_full or oldcm_empty must be found in the !path. 
     16; dir must also be in the !path 
     17; 
     18; @examples 
     19; IDL> keep_compatibility,0 
    1920; 
    2021; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    2122;                      June 2005 
     23; 
     24; @version $Id$ 
    2225; 
    2326;- 
     
    3134; version should be at least 6.0 
    3235; 
    33   IF fix(strmid(!version.release, 0, 1)) LT 6 THEN BEGIN  
     36  IF fix(strmid(!version.release, 0, 1)) LT 6 THEN BEGIN 
    3437    print, '                   *** ***** ***' 
    3538    print, '                   *** ERROR ***' 
     
    4851    !path = !path+ ':' + expand_path(myuniquetmpdir) 
    4952    return 
    50   ENDIF  
     53  ENDIF 
    5154; 
    52   if n_elements(flag) eq 0 then flag = 1b - keyword_set(key_forgetold)  
     55  if n_elements(flag) eq 0 then flag = 1b - keyword_set(key_forgetold) 
    5356; 1) automatic definition of key_forgetold 
    54   key_forgetold = 1b - keyword_set(flag)  
     57  key_forgetold = 1b - keyword_set(flag) 
    5558; 
    5659; 2) remove all oldcm_used.pro found in !path 
     
    6568; 4) copy oldcm_full(_empty) to myuniquetmpdir+'oldcm_used.pro' 
    6669; select which file should be copied to oldcm_used.pro 
    67     IF key_forgetold THEN BEGIN  
     70    IF key_forgetold THEN BEGIN 
    6871      oldcm = find('oldcm_empty') 
    6972      print, 'We forget the compatibility with the old version' 
    70     ENDIF ELSE BEGIN  
    71       oldcm = find('oldcm_full')  
     73    ENDIF ELSE BEGIN 
     74      oldcm = find('oldcm_full') 
    7275      print, 'We keep the compatibility with the old version' 
    73     ENDELSE  
     76    ENDELSE 
    7477; 
    7578    oldcm = oldcm[0] 
     
    8891;  make sure that the common variables are correctly initialized. 
    8992; 
    90   IF size(ccmeshparameters, /type) NE 8 THEN BEGIN  
     93  IF size(ccmeshparameters, /type) NE 8 THEN BEGIN 
    9194    computegrid, 1, 1, 1, 1, 1, 1, /fullcgrid 
    92 @cm_4data     
     95@cm_4data 
    9396    varname = '' 
    9497    vargrid = 'T' 
     
    98101    valmask = 1.e20 
    99102  ENDIF 
    100 ;   
     103; 
    101104  return 
    102105END 
  • trunk/SRC/ForOldVersion/oldcm_empty.pro

    • Property svn:executable deleted
    • Property svn:keywords set to Id
    r102 r122  
    33; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    44;                       June 2005 
     5; @version $Id$ 
    56;- 
    67; 
  • trunk/SRC/ForOldVersion/oldcm_full.pro

    • Property svn:executable deleted
    • Property svn:keywords set to Id
    r102 r122  
    33; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    44;                       14/8/98 
     5; @version $Id$ 
    56;- 
    67; 
  • trunk/SRC/ForOldVersion/updatekwd.pro

    • Property svn:executable deleted
    • Property svn:keywords set to Id
    r102 r122  
    11;+ 
    22; 
    3 ; @file_comments  
     3; @file_comments 
    44; compatibility with old keywords 
    5 ; if needed, force the definition of new keywords 
    6 ;               with the old ones. 
     5; if needed, force the definition of new keywords with the old ones. 
    76; 
    87; @categories compatibility with previous version 
     
    1211;   (must be insert as an include in a procedure or function)  
    1312; 
    14 ; 
    1513; @restrictions the compatibility can be made only if the keyword 
    1614;               given through _extra are given with their complete name 
     
    1816; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    1917;                      July 2005 
     18; @version $Id$ 
     19; 
    2020;- 
    2121; if ex is a structure... 
  • trunk/SRC/ForOldVersion/updatenew.pro

    • Property svn:executable deleted
    • Property svn:keywords set to Id
    r102 r122  
    11;+ 
    2 ; file_comments  
     2; @file_comments 
    33; common declaration 
    44; 
    55; check that key_forgetold and keep_compatibility are well defined... 
     6; 
    67; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    78;                       June 2005 
     9; @version $Id$ 
    810;- 
    9 ; 
    1011; 
    1112IF n_elements(key_forgetold) EQ 0 THEN keep_compatibility 
     
    1516@oldcm_used 
    1617; 
    17 key_forgetold = keyword_set(key_forgetold)  
     18key_forgetold = keyword_set(key_forgetold) 
    1819; 
    1920IF NOT key_forgetold AND n_elements(sauveps) NE 0 THEN archive_ps = sauveps 
     
    5556; 
    5657IF NOT key_forgetold AND n_elements(coefpalit) NE 0 AND n_elements(Lightness) EQ 0 $ 
    57 THEN Lightness = coefpalit  
     58THEN Lightness = coefpalit 
    5859; 
  • trunk/SRC/ForOldVersion/updateold.pro

    • Property svn:executable deleted
    • Property svn:keywords set to Id
    r102 r122  
    22; @file_comments 
    33; check that key_forgetold and keep_compatibility are well defined... 
     4; 
    45; @history Sebastien Masson (smasson\@lodyc.jussieu.fr) 
    56;                       14/8/98 
     7; @version $Id$ 
     8; 
    69;- 
    7 ; 
    810; 
    911IF n_elements(key_forgetold) EQ 0 THEN keep_compatibility 
     
    1315@oldcm_used 
    1416; 
    15   key_forgetold = keyword_set(key_forgetold)  
     17  key_forgetold = keyword_set(key_forgetold) 
    1618 
    1719  IF NOT key_forgetold AND n_elements(jpt) NE 0 THEN jptmax = jpt 
Note: See TracChangeset for help on using the changeset viewer.