diff options
Diffstat (limited to 'js/NonLinear/ABSBLK_f.js')
-rw-r--r-- | js/NonLinear/ABSBLK_f.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/NonLinear/ABSBLK_f.js b/js/NonLinear/ABSBLK_f.js index a5cacb5f..7ab1aff9 100644 --- a/js/NonLinear/ABSBLK_f.js +++ b/js/NonLinear/ABSBLK_f.js @@ -8,13 +8,14 @@ function ABSBLK_f() { model.blocktype = "c"; model.dep_ut = [true,false]; gr_i = []; - x = standard_define([2,2],model,[],gr_i); + this.x = standard_define([2,2],model,[],gr_i); } ABSBLK_f.prototype.details = function ABSBLK_f() { + return this.x; } ABSBLK_f.prototype.get = function ABSBLK_f() { } ABSBLK_f.prototype.set = function ABSBLK_f() { - x = arg1; + this.x = arg1; } } |