summaryrefslogtreecommitdiff
path: root/js/Misc/RELATIONALOP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/RELATIONALOP.js')
-rw-r--r--js/Misc/RELATIONALOP.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Misc/RELATIONALOP.js b/js/Misc/RELATIONALOP.js
index 9cf2543e..a98b7e5d 100644
--- a/js/Misc/RELATIONALOP.js
+++ b/js/Misc/RELATIONALOP.js
@@ -4,7 +4,7 @@ function RELATIONALOP() {
ipar = [2];
label = "&lt";
this.model = scicos_model();
- this.model.sim = list("relationalop",4);
+ this.model.sim = list(new ScilabString("relationalop"),new ScilabDouble(4));
this.model.in1 = [[1],[1]];
this.model.out = new ScilabDouble(1);
this.model.ipar = ipar;
@@ -52,19 +52,19 @@ function RELATIONALOP() {
ok = false;
}
if ((this.Datatype==1)) {
- this.model.sim = list("relational_op",4);
+ this.model.sim = list(new ScilabString("relational_op"),new ScilabDouble(4));
} else if ((this.Datatype==3||this.Datatype==9)) {
- this.model.sim = list("relational_op_i32",4);
+ this.model.sim = list(new ScilabString("relational_op_i32"),new ScilabDouble(4));
} else if ((this.Datatype==4)) {
- this.model.sim = list("relational_op_i16",4);
+ this.model.sim = list(new ScilabString("relational_op_i16"),new ScilabDouble(4));
} else if ((this.Datatype==5)) {
- this.model.sim = list("relational_op_i8",4);
+ this.model.sim = list(new ScilabString("relational_op_i8"),new ScilabDouble(4));
} else if ((this.Datatype==6)) {
- this.model.sim = list("relational_op_ui32",4);
+ this.model.sim = list(new ScilabString("relational_op_ui32"),new ScilabDouble(4));
} else if ((this.Datatype==7)) {
- this.model.sim = list("relational_op_ui16",4);
+ this.model.sim = list(new ScilabString("relational_op_ui16"),new ScilabDouble(4));
} else if ((this.Datatype==8)) {
- this.model.sim = list("relational_op_ui8",4);
+ this.model.sim = list(new ScilabString("relational_op_ui8"),new ScilabDouble(4));
} else {
message("Datatype is not supported");
ok = false;