[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.11 and 1.12

version 1.11, 2003/08/19 08:02:10 version 1.12, 2003/08/20 01:39:17
Line 1 
Line 1 
 /* $OpenXM: OpenXM/src/kan96xx/Kan/option.c,v 1.10 2003/07/30 09:00:52 takayama Exp $ */  /* $OpenXM: OpenXM/src/kan96xx/Kan/option.c,v 1.11 2003/08/19 08:02:10 takayama Exp $ */
 #include <stdio.h>  #include <stdio.h>
 #include "datatype.h"  #include "datatype.h"
 #include "stackm.h"  #include "stackm.h"
Line 54  struct object KsystemVariable(ob)
Line 54  struct object KsystemVariable(ob)
   extern int Ecart;    extern int Ecart;
   extern int EcartAutomaticHomogenization;    extern int EcartAutomaticHomogenization;
   extern int TraceLift;    extern int TraceLift;
     extern int DoCancel;
   
   int n,i;    int n,i;
   struct object ob1,ob2,ob3,ob4;    struct object ob1,ob2,ob3,ob4;
Line 187  struct object KsystemVariable(ob)
Line 188  struct object KsystemVariable(ob)
         rob = KpoInteger(EcartAutomaticHomogenization);          rob = KpoInteger(EcartAutomaticHomogenization);
       }else if (strcmp(ob1.lc.str,"TraceLift")==0) {        }else if (strcmp(ob1.lc.str,"TraceLift")==0) {
         rob = KpoInteger(TraceLift);          rob = KpoInteger(TraceLift);
         }else if (strcmp(ob1.lc.str,"DoCancel")==0) {
           rob = KpoInteger(DoCancel);
       }else{        }else{
         warningKan("KsystemVariable():Unknown key word.\n");          warningKan("KsystemVariable():Unknown key word.\n");
       }        }
Line 314  struct object KsystemVariable(ob)
Line 317  struct object KsystemVariable(ob)
       }else if (strcmp(ob1.lc.str,"TraceLift") == 0) {        }else if (strcmp(ob1.lc.str,"TraceLift") == 0) {
         TraceLift = KopInteger(ob2);          TraceLift = KopInteger(ob2);
         rob = KpoInteger(TraceLift);          rob = KpoInteger(TraceLift);
         }else if (strcmp(ob1.lc.str,"DoCancel") == 0) {
           DoCancel = KopInteger(ob2);
           rob = KpoInteger(DoCancel);
       }else{        }else{
         warningKan("KsystemVariable():Unknown key word.\n");          warningKan("KsystemVariable():Unknown key word.\n");
       }        }

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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