From 58c3b670390b278ee45a4b45ccb36a949ad582eb Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Sat, 16 Jun 2018 08:23:15 +0530 Subject: make exprs an array by default --- js/Sources/INIMPL_f.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Sources/INIMPL_f.js') diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js index c6afca25..26990047 100644 --- a/js/Sources/INIMPL_f.js +++ b/js/Sources/INIMPL_f.js @@ -8,7 +8,7 @@ graphics=arg1.graphics; exprs=graphics.exprs; model=arg1.model; if (size(exprs,"*")==2) { -exprs=exprs(1); +exprs=exprs[1-1]; } while (true) { [ok,prt,exprs]=scicos_getvalue([msprintf(gettext("Set %s block parameters"),"INIMPL_f")," ",gettext("Implicit input port")," "],"Port Number",list("vec",1),exprs); -- cgit