version 1.9, 2003/07/29 08:36:40 |
version 1.13, 2003/08/21 02:30:23 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/Kan/option.c,v 1.8 2003/07/17 23:37:02 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 53 struct object KsystemVariable(ob) |
|
Line 53 struct object KsystemVariable(ob) |
|
extern int SecureMode; |
extern int SecureMode; |
extern int Ecart; |
extern int Ecart; |
extern int EcartAutomaticHomogenization; |
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 184 struct object KsystemVariable(ob) |
|
Line 187 struct object KsystemVariable(ob) |
|
rob = KpoInteger(Ecart); |
rob = KpoInteger(Ecart); |
}else if (strcmp(ob1.lc.str,"EcartAutomaticHomogenization")==0) { |
}else if (strcmp(ob1.lc.str,"EcartAutomaticHomogenization")==0) { |
rob = KpoInteger(EcartAutomaticHomogenization); |
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 306 struct object KsystemVariable(ob) |
|
Line 315 struct object KsystemVariable(ob) |
|
Ecart = KopInteger(ob2); |
Ecart = KopInteger(ob2); |
rob = KpoInteger(Ecart); |
rob = KpoInteger(Ecart); |
}else if (strcmp(ob1.lc.str,"EcartAutomaticHomogenization") == 0) { |
}else if (strcmp(ob1.lc.str,"EcartAutomaticHomogenization") == 0) { |
Ecart = KopInteger(ob2); |
EcartAutomaticHomogenization = KopInteger(ob2); |
rob = KpoInteger(EcartAutomaticHomogenization); |
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"); |
} |
} |