summaryrefslogtreecommitdiff
path: root/js/IntegerOp/SHIFT.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/SHIFT.js')
-rw-r--r--js/IntegerOp/SHIFT.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/IntegerOp/SHIFT.js b/js/IntegerOp/SHIFT.js
index bb7c16b6..c7d434a7 100644
--- a/js/IntegerOp/SHIFT.js
+++ b/js/IntegerOp/SHIFT.js
@@ -32,13 +32,13 @@ function SHIFT() {
return options;
}
SHIFT.prototype.set = function SHIFT() {
- this.Datatype = arguments[0]["Datatype"]
- this.nb = arguments[0]["nb"]
- this.np = arguments[0]["np"]
- this.exprs = arguments[0]["exprs"]
this.exprs = this.graphics.exprs;
while (true) {
- [ok,this.Datatype,this.nb,this.np,this.exprs] = scicos_getvalue([[msprintf("Set %s block parameters","SHIFT")],[" "],["Shift/Rotates bits"]],[msprintf("Data Type %s","(3:int32, 4:int16, 5:int8, ...)"),"Number of Bits to Shift Left (Negative number to shift right)","Shift Type (0:Arithmetic, 1:Circular)"],list("vec",1,"vec",1,"vec",1),this.exprs);
+ var ok = true;
+ this.Datatype = arguments[0]["Datatype"];
+ this.nb = arguments[0]["nb"];
+ this.np = arguments[0]["np"];
+ this.exprs = arguments[0]["exprs"];
if (!ok) {
break;
}