summaryrefslogtreecommitdiff
path: root/js/IntegerOp/EXTRACTBITS.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/EXTRACTBITS.js')
-rw-r--r--js/IntegerOp/EXTRACTBITS.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js
index 3b820860..d691751c 100644
--- a/js/IntegerOp/EXTRACTBITS.js
+++ b/js/IntegerOp/EXTRACTBITS.js
@@ -24,6 +24,10 @@ function EXTRACTBITS() {
EXTRACTBITS.prototype.get = function EXTRACTBITS() {
}
EXTRACTBITS.prototype.set = function EXTRACTBITS() {
+ this.Datatype = parseFloat((arguments[0]["Datatype"]))
+ this.rule = parseFloat((arguments[0]["rule"]))
+ this.bit = parseFloat((arguments[0]["bit"]))
+ this.scal = parseFloat((arguments[0]["scal"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;