summaryrefslogtreecommitdiff
path: root/js/Sources/READAU_f.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/READAU_f.js')
-rw-r--r--js/Sources/READAU_f.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/Sources/READAU_f.js b/js/Sources/READAU_f.js
index eaea76df..2a49387c 100644
--- a/js/Sources/READAU_f.js
+++ b/js/Sources/READAU_f.js
@@ -20,9 +20,9 @@ function READAU_f() {
this.model.ipar = new ScilabDouble([length(fname)],[this._str2code[frmt-1]],[ievt],[this.N],[M],[this.swap],[offset],[this._str2code[fname-1]],[tmask],[outmask]);
this.model.blocktype = new ScilabString(["d"]);
this.model.dep_ut = new ScilabBoolean([false,false]);
- this.exprs = [[fname],[string(this.N)],[string(this.swap)]];
- this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"READAU_f\",sz(1),sz(2));"]);
- this.x = new standard_define(new ScilabDouble([5,2]),this.model,new ScilabDouble(this.exprs),this.gr_i);
+ var exprs = [[fname],[string(this.N)],[string(this.swap)]];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"READAU_f\",sz(1),sz(2));"]);
+ this.x = new standard_define(new ScilabDouble([5,2]),this.model,new ScilabDouble(exprs),gr_i);
return new BasicBlock(this.x);
}
READAU_f.prototype.details = function READAU_f() {
@@ -37,14 +37,14 @@ function READAU_f() {
return options;
}
READAU_f.prototype.set = function READAU_f() {
- this.exprs = this.graphics.exprs;
+ var exprs = this.graphics.exprs;
var out = this.model.out;
var dstate = this.model.dstate;
var ipar = this.model.ipar;
var imask = 9+ipar[1-1];
var tmask = ipar[imask-1];
var lunit = dstate[3-1];
- var fname = this.exprs[1-1];
+ var fname = exprs[1-1];
while (true) {
var ok = true;
this.fname1 = parseFloat(arguments[0]["fname1"]);
@@ -83,7 +83,7 @@ function READAU_f() {
}
this.model.dstate = new ScilabDouble(dstate);
this.model.ipar = new ScilabDouble(ipar);
- this.graphics.exprs = new ScilabDouble([this.exprs]);
+ this.graphics.exprs = new ScilabDouble([exprs]);
this.x.graphics = this.graphics;
this.x.model = this.model;
break;