diff options
Diffstat (limited to 'js/Sources/CONST_f.js')
-rw-r--r-- | js/Sources/CONST_f.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js index 22b503c3..c866e463 100644 --- a/js/Sources/CONST_f.js +++ b/js/Sources/CONST_f.js @@ -23,11 +23,11 @@ function CONST_f() { return options; } CONST_f.prototype.set = function CONST_f() { - this.C = parseFloat(arguments[0]["C"]) - this.exprs = arguments[0]["exprs"] this.exprs = this.graphics.exprs; while (true) { - [ok,this.C,this.exprs] = scicos_getvalue(["Set Contant Block"],"Constant",list("vec",-1),this.exprs); + var ok = true; + this.C = parseFloat(arguments[0]["C"]); + this.exprs = arguments[0]["exprs"]; if (!ok) { break; } |