diff options
Diffstat (limited to 'js/Misc/c_block.js')
-rw-r--r-- | js/Misc/c_block.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Misc/c_block.js b/js/Misc/c_block.js index 37872f1a..f435472c 100644 --- a/js/Misc/c_block.js +++ b/js/Misc/c_block.js @@ -25,8 +25,8 @@ function c_block() { this.model.firing = new ScilabDouble(auto); this.model.dep_ut = new ScilabBoolean([true,false]); var label = list([[sci2exp(in1)],[sci2exp(out)],[strcat(sci2exp(this.rpar))],[this.funam]],list([])); - this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"c_block\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,this.gr_i); + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"c_block\",sz(1),sz(2));"]); + this.x = new standard_define(new ScilabDouble([3,2]),this.model,label,gr_i); return new BasicBlock(this.x); } c_block.prototype.details = function c_block() { |