diff options
author | Sunil Shetye | 2018-06-16 08:23:15 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-16 08:23:15 +0530 |
commit | 58c3b670390b278ee45a4b45ccb36a949ad582eb (patch) | |
tree | 722ea570b5703195e4fdbf84c7410776177cc70f /js/Sources/READC_f.js | |
parent | 4a602cc59c9bc5a888e50caa40776e4fb5e7b852 (diff) | |
download | sci2js-58c3b670390b278ee45a4b45ccb36a949ad582eb.tar.gz sci2js-58c3b670390b278ee45a4b45ccb36a949ad582eb.tar.bz2 sci2js-58c3b670390b278ee45a4b45ccb36a949ad582eb.zip |
make exprs an array by default
Diffstat (limited to 'js/Sources/READC_f.js')
-rw-r--r-- | js/Sources/READC_f.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js index aeff85c7..a5524672 100644 --- a/js/Sources/READC_f.js +++ b/js/Sources/READC_f.js @@ -13,8 +13,8 @@ ipar=model.ipar; imask=9+ipar(1); tmask=ipar(imask); lunit=dstate(3); -fname=exprs(3); -frmt=exprs(4); +fname=exprs[3-1]; +frmt=exprs[4-1]; while (true) { [ok,tmask1,outmask,fname1,frmt1,M,N,offset,swap,exprs]=scicos_getvalue([msprintf(gettext("Set %s block parameters"),"READC_f")," ",gettext("Read from C binary file")],[gettext("Time Record Selection"),gettext("Outputs Record Selection"),gettext("Input File Name"),gettext("Input Format"),gettext("Record Size"),gettext("Buffer Size"),gettext("Initial Record Index"),gettext("Swap Mode (0:No, 1:Yes)")],list("vec",-1,"vec",-1,"str",1,"str",1,"vec",1,"vec",1,"vec",1,"vec",1),exprs); if (!ok) { |