diff options
author | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
commit | ca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch) | |
tree | 6a07bd0428e542567726ff7325fcb71203ad6d15 /js/Misc/fortran_block.js | |
parent | 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff) | |
download | sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2 sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip |
add options block
Diffstat (limited to 'js/Misc/fortran_block.js')
-rw-r--r-- | js/Misc/fortran_block.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/js/Misc/fortran_block.js b/js/Misc/fortran_block.js index c6e76965..4b138b9d 100644 --- a/js/Misc/fortran_block.js +++ b/js/Misc/fortran_block.js @@ -24,6 +24,13 @@ function fortran_block() { return this.x; } fortran_block.prototype.get = function fortran_block() { + var options = { + i:["input ports sizes",this.i], + o:["output port sizes",this.o], + rpar:["System parameters vector",this.rpar], + funam:["function name",this.funam], + } + return options; } fortran_block.prototype.set = function fortran_block() { this.i = parseFloat((arguments[0]["i"])) |