diff options
Diffstat (limited to 'js/Events/EVTGEN_f.js')
-rw-r--r-- | js/Events/EVTGEN_f.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/js/Events/EVTGEN_f.js b/js/Events/EVTGEN_f.js index 804c5a0c..361a1529 100644 --- a/js/Events/EVTGEN_f.js +++ b/js/Events/EVTGEN_f.js @@ -1,14 +1,14 @@ /* autogenerated from "macros/Events/EVTGEN_f.sci" */ function EVTGEN_f() { EVTGEN_f.prototype.define = function EVTGEN_f() { - tt = 0; + this.tt = 0; model = scicos_model(); model.sim = "trash"; model.evtout = 1; model.blocktype = "d"; - model.firing = tt; + model.firing = this.tt; model.dep_ut = [false,false]; - exprs = string(tt); + exprs = string(this.tt); gr_i = []; this.x = standard_define([3,2],model,exprs,gr_i); return new BasicBlock(this.x); @@ -24,13 +24,13 @@ function EVTGEN_f() { exprs = graphics.exprs; model = arg1.model; while (true) { - [ok,tt,exprs] = scicos_getvalue("Set Event time",["Event Time"],list("vec",1),exprs); + [ok,this.tt,exprs] = scicos_getvalue("Set Event time",["Event Time"],list("vec",1),exprs); if (!ok) { break; } graphics.exprs = exprs; - if (model.firing!=tt) { - model.firing = tt; + if (model.firing!=this.tt) { + model.firing = this.tt; } this.x.graphics = graphics; this.x.model = model; |