diff options
author | Sunil Shetye | 2018-06-18 17:30:31 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-18 20:30:18 +0530 |
commit | cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76 (patch) | |
tree | 56407047bba37f94b7b5f00890b4385cefa502fd /js/IntegerOp/LOGIC.js | |
parent | 0fd33c776a03e3b9ad2267e4f3fbb2c7bcbbb92a (diff) | |
download | sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.tar.gz sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.tar.bz2 sci2js-cd5b0819762aa4a1cb72d29ab7b8c3ac65bbad76.zip |
use format string
Diffstat (limited to 'js/IntegerOp/LOGIC.js')
-rw-r--r-- | js/IntegerOp/LOGIC.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js index a94c7b2a..6032df73 100644 --- a/js/IntegerOp/LOGIC.js +++ b/js/IntegerOp/LOGIC.js @@ -31,7 +31,7 @@ model=arg1.model; while (true) { [ok,mat,herit,exprs]=scicos_getvalue([msprintf(gettext("Set %s block parameters"),"LOGIC")," ",gettext("Combinatorial logic")," ",gettext(" Rows of the matrix are the output values"),gettext(" Number of rows must be a power of two."),gettext(" Number of columns gives the number of outputs.")," "],[gettext("Truth Table (matrix of outputs)"),gettext("Accepts Inherited Events (0:No, 1:Yes)")],list("mat",[-1,-2],"vec",1),exprs); if (!ok) { -break +break; } nout=size(mat,2); nin=(log(size(mat,1))/log(2)); @@ -59,7 +59,7 @@ mat=int8(mat); model.opar=list(mat); x.graphics=graphics; x.model=model; -break +break; } } } |