diff options
Diffstat (limited to 'js/Branching/GotoTagVisibility.js')
-rw-r--r-- | js/Branching/GotoTagVisibility.js | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js index f1f8b7f9..491bec8d 100644 --- a/js/Branching/GotoTagVisibility.js +++ b/js/Branching/GotoTagVisibility.js @@ -1,22 +1,22 @@ /* autogenerated from "macros/Branching/GotoTagVisibility.sci" */ function GotoTagVisibility() { GotoTagVisibility.prototype.define = function GotoTagVisibility() { - model = scicos_model(); - model.sim = "gototagvisibility"; - model.in1 = []; - model.in2 = []; - model.out = []; - model.out2 = []; - model.evtin = []; - model.intyp = 1; - model.outtyp = 1; - model.opar = list("A"); - model.blocktype = "c"; - model.firing = false; - model.dep_ut = [false,false]; + this.model = scicos_model(); + this.model.sim = new ScilabString("gototagvisibility"); + this.model.in1 = []; + this.model.in2 = []; + this.model.out = []; + this.model.out2 = []; + this.model.evtin = []; + this.model.intyp = new ScilabDouble(1); + this.model.outtyp = new ScilabDouble(1); + this.model.opar = list("A"); + this.model.blocktype = new ScilabString("c"); + this.model.firing = new ScilabBoolean(false); + this.model.dep_ut = [false,false]; exprs = "A"; gr_i = []; - this.x = standard_define([2,2],model,exprs,gr_i); + this.x = standard_define([2,2],this.model,exprs,gr_i); return new BasicBlock(this.x); } GotoTagVisibility.prototype.details = function GotoTagVisibility() { @@ -33,21 +33,21 @@ function GotoTagVisibility() { this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; - model = arg1.model; + this.model = arg1.model; while (true) { [ok,this.tag,exprs] = scicos_getvalue("Set parameters",["GotoTag"],list("str",-1),exprs); if (!ok) { break; } if (ok) { - if (model.opar!=list(this.tag)) { + if (this.model.opar!=list(this.tag)) { needcompile = 4; y = needcompile; } graphics.exprs = exprs; - model.opar = list(this.tag); + this.model.opar = list(this.tag); this.x.graphics = graphics; - this.x.model = model; + this.x.model = this.model; break; } } |