summaryrefslogtreecommitdiff
path: root/js/Misc/fortran_block.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/fortran_block.js')
-rw-r--r--js/Misc/fortran_block.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/Misc/fortran_block.js b/js/Misc/fortran_block.js
index ab10b0fc..75bef798 100644
--- a/js/Misc/fortran_block.js
+++ b/js/Misc/fortran_block.js
@@ -84,4 +84,13 @@ function fortran_block() {
fortran_block.prototype.get_popup_title = function fortran_block() {
return this.set_param_popup_title;
}
+ fortran_block.prototype.importset = function fortran_block() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.i = ary[0];
+ this.o = ary[1];
+ this.rpar = ary[2];
+ this.funam = ary[3];
+ }
+ fortran_block.prototype.getContainer = function fortran_block() { return new BasicBlock(this.x); }
}