From f19304a4fe99556c5ddc35024c818d00ffe7e23a Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 9 Jul 2018 17:07:46 +0530 Subject: handle list separately --- js/Branching/GOTO.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Branching/GOTO.js') diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js index 9c9bca66..bc5c0245 100644 --- a/js/Branching/GOTO.js +++ b/js/Branching/GOTO.js @@ -10,7 +10,7 @@ function GOTO() { this.model.out2 = []; this.model.outtyp = new ScilabDouble(1); this.model.ipar = new ScilabDouble(int(1)); - this.model.opar = list("A"); + this.model.opar = list(new ScilabString("A")); this.model.blocktype = new ScilabString("c"); this.model.dep_ut = [false,false]; exprs = [["A"],[sci2exp(1)]]; @@ -52,7 +52,7 @@ function GOTO() { y = needcompile; } graphics.exprs = exprs; - this.model.opar = list(this.tag); + this.model.opar = list(new ScilabDouble(this.tag)); this.model.ipar = new ScilabDouble(this.tagvis); this.x.model = this.model; this.x.graphics = graphics; -- cgit