[BACK]Return to option.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Kan

Diff for /OpenXM/src/kan96xx/Kan/option.c between version 1.7 and 1.13

version 1.7, 2003/07/17 07:33:03 version 1.13, 2003/08/21 02:30:23
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/kan96xx/Kan/option.c,v 1.6 2003/07/10 05:01:41 takayama Exp $ */  /* $OpenXM: OpenXM/src/kan96xx/Kan/option.c,v 1.12 2003/08/20 01:39:17 takayama Exp $ */
 #include <stdio.h>  #include <stdio.h>
 #include "datatype.h"  #include "datatype.h"
 #include "stackm.h"  #include "stackm.h"
Line 45  struct object KsystemVariable(ob)
Line 45  struct object KsystemVariable(ob)
   extern int Homogenize_vec;    extern int Homogenize_vec;
   extern int CmoDMSOutputOption;    extern int CmoDMSOutputOption;
   extern int DebugReductionRed; /* hidden option */    extern int DebugReductionRed; /* hidden option */
     extern int DebugReductionEcart;
   extern char *VersionString;    extern char *VersionString;
   extern int AvoidTheSameRing;    extern int AvoidTheSameRing;
   extern char *LeftBracket;    extern char *LeftBracket;
   extern char *RightBracket;    extern char *RightBracket;
   extern int SecureMode;    extern int SecureMode;
   extern int Ecart;    extern int Ecart;
     extern int EcartAutomaticHomogenization;
     extern int TraceLift;
     extern int DoCancel;
     extern int DebugContentReduction;
   
   int n,i;    int n,i;
   struct object ob1,ob2,ob3,ob4;    struct object ob1,ob2,ob3,ob4;
Line 180  struct object KsystemVariable(ob)
Line 185  struct object KsystemVariable(ob)
         rob = KpoInteger(SecureMode);          rob = KpoInteger(SecureMode);
       }else if (strcmp(ob1.lc.str,"Ecart")==0) {        }else if (strcmp(ob1.lc.str,"Ecart")==0) {
         rob = KpoInteger(Ecart);          rob = KpoInteger(Ecart);
         }else if (strcmp(ob1.lc.str,"EcartAutomaticHomogenization")==0) {
           rob = KpoInteger(EcartAutomaticHomogenization);
         }else if (strcmp(ob1.lc.str,"TraceLift")==0) {
           rob = KpoInteger(TraceLift);
         }else if (strcmp(ob1.lc.str,"DoCancel")==0) {
           rob = KpoInteger(DoCancel);
         }else if (strcmp(ob1.lc.str,"DebugContentReduction")==0) {
           rob = KpoInteger(DebugContentReduction);
       }else{        }else{
         warningKan("KsystemVariable():Unknown key word.\n");          warningKan("KsystemVariable():Unknown key word.\n");
       }        }
Line 285  struct object KsystemVariable(ob)
Line 298  struct object KsystemVariable(ob)
       }else if (strcmp(ob1.lc.str,"DebugReductionRed") == 0) {        }else if (strcmp(ob1.lc.str,"DebugReductionRed") == 0) {
         DebugReductionRed = KopInteger(ob2);          DebugReductionRed = KopInteger(ob2);
         rob = KpoInteger(DebugReductionRed);          rob = KpoInteger(DebugReductionRed);
         }else if (strcmp(ob1.lc.str,"DebugReductionEcart") == 0) {
           DebugReductionEcart = KopInteger(ob2);
           rob = KpoInteger(DebugReductionEcart);
       }else if (strcmp(ob1.lc.str,"AvoidTheSameRing") == 0) {        }else if (strcmp(ob1.lc.str,"AvoidTheSameRing") == 0) {
         AvoidTheSameRing = KopInteger(ob2);          AvoidTheSameRing = KopInteger(ob2);
         rob = KpoInteger(AvoidTheSameRing);          rob = KpoInteger(AvoidTheSameRing);
Line 298  struct object KsystemVariable(ob)
Line 314  struct object KsystemVariable(ob)
       }else if (strcmp(ob1.lc.str,"Ecart") == 0) {        }else if (strcmp(ob1.lc.str,"Ecart") == 0) {
         Ecart = KopInteger(ob2);          Ecart = KopInteger(ob2);
         rob = KpoInteger(Ecart);          rob = KpoInteger(Ecart);
         }else if (strcmp(ob1.lc.str,"EcartAutomaticHomogenization") == 0) {
           EcartAutomaticHomogenization = KopInteger(ob2);
           rob = KpoInteger(EcartAutomaticHomogenization);
         }else if (strcmp(ob1.lc.str,"TraceLift") == 0) {
           TraceLift = KopInteger(ob2);
           rob = KpoInteger(TraceLift);
         }else if (strcmp(ob1.lc.str,"DoCancel") == 0) {
           DoCancel = KopInteger(ob2);
           rob = KpoInteger(DoCancel);
         }else if (strcmp(ob1.lc.str,"DebugContentReduction") == 0) {
           DebugContentReduction = KopInteger(ob2);
           rob = KpoInteger(DebugContentReduction);
       }else{        }else{
         warningKan("KsystemVariable():Unknown key word.\n");          warningKan("KsystemVariable():Unknown key word.\n");
       }        }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.13

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>