From a2bfd6050ab2b5b6bbede92393b1f61d4ecc25aa Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Thu, 12 Jul 2018 21:09:17 +0530 Subject: define gr_i --- js/Sources/STEP.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/Sources/STEP.js') diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js index 10babc97..972a8fe3 100644 --- a/js/Sources/STEP.js +++ b/js/Sources/STEP.js @@ -14,7 +14,7 @@ function STEP() { this.model.blocktype = new ScilabString(["c"]); this.model.dep_ut = new ScilabDouble([false,false]); var exprs = [[string(1)],[string(rpar)]]; - var gr_i = []; + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"STEP\",sz(1),sz(2));"]); this.x = standard_define([2,2],this.model,exprs,gr_i); return new BasicBlock(this.x); } -- cgit