diff options
Diffstat (limited to 'js/Sources/CLKIN_f.js')
-rw-r--r-- | js/Sources/CLKIN_f.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Sources/CLKIN_f.js b/js/Sources/CLKIN_f.js index b6c17b87..a4b5c636 100644 --- a/js/Sources/CLKIN_f.js +++ b/js/Sources/CLKIN_f.js @@ -9,7 +9,7 @@ function CLKIN_f() { this.model.blocktype = new ScilabString(["d"]); this.model.firing = new ScilabDouble([-1]); this.model.dep_ut = [false,false]; - exprs = string(this.prt); + var exprs = string(this.prt); this.x = standard_define([1,1],this.model,exprs," "); return new BasicBlock(this.x); } @@ -24,10 +24,10 @@ function CLKIN_f() { CLKIN_f.prototype.set = function CLKIN_f() { this.prt = parseFloat(arguments[0]["prt"]) this.x = arg1; - graphics = arg1.graphics; + var graphics = arg1.graphics; this.model = arg1.model; - exprs = graphics.exprs; - exprs = exprs[1-1]; + var exprs = graphics.exprs; + var exprs = exprs[1-1]; while (true) { [ok,this.prt,exprs] = scicos_getvalue("Set Event Input block parameters","Port number",list("vec",1),exprs); this.prt = int(this.prt); |