diff options
Diffstat (limited to 'js/Misc/generic_block2.js')
-rw-r--r-- | js/Misc/generic_block2.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/js/Misc/generic_block2.js b/js/Misc/generic_block2.js index 73fc7e31..1b8583a3 100644 --- a/js/Misc/generic_block2.js +++ b/js/Misc/generic_block2.js @@ -140,4 +140,24 @@ function generic_block2() { generic_block2.prototype.get_popup_title = function generic_block2() { return this.set_param_popup_title; } + generic_block2.prototype.importset = function generic_block2() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.function_name = ary[0]; + this.funtyp = ary[1]; + this.i = ary[2]; + this.o = ary[3]; + this.ci = ary[4]; + this.co = ary[5]; + this.xx = ary[6]; + this.z = ary[7]; + this.rpar = ary[8]; + this.ipar = ary[9]; + this.nmode = ary[10]; + this.nzcr = ary[11]; + this.auto0 = ary[12]; + this.depu = ary[13]; + this.dept = ary[14]; + } + generic_block2.prototype.getContainer = function generic_block2() { return new BasicBlock(this.x); } } |