diff options
author | Sunil Shetye | 2018-08-27 14:38:26 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-08-27 16:43:40 +0530 |
commit | 8e6c876e5582928ab6909cf0f3529a97f622520d (patch) | |
tree | 3ce13a7e3552486771d147aec6973ff45a6024a5 /js/PDE | |
parent | 5cffbe3aa309e242255b96fe954688c6f1380811 (diff) | |
download | sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.gz sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.bz2 sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.zip |
ignore first and last variable by index, not value
Diffstat (limited to 'js/PDE')
-rw-r--r-- | js/PDE/PDE.js | 12 | ||||
-rw-r--r-- | js/PDE/PDE.pickle | 16 |
2 files changed, 11 insertions, 17 deletions
diff --git a/js/PDE/PDE.js b/js/PDE/PDE.js index 73067ed8..308dfa40 100644 --- a/js/PDE/PDE.js +++ b/js/PDE/PDE.js @@ -19,7 +19,7 @@ function PDE() { } PDE.prototype.get = function PDE() { var options = { - okk:["New block\'s name :",this.okk], + rdnom:["New block\'s name :",this.rdnom], } return options; } @@ -104,19 +104,17 @@ function PDE() { var params_pde = tmpvar1[32]; } } - this.okk = false; + var okk = false; this.rdnom = "PDE"; var ok1 = true; while (true) { - var ok = true; - this.okk = parseBoolean(arguments[0]["okk"]); + var okk = true; this.rdnom = arguments[0]["rdnom"]; - this.lab = arguments[0]["lab"]; - if (this.okk==false) { + if (okk==false) { var ok1 = false; return; } - label[3-1] = this.lab; + label[3-1] = lab; this.rdnom = stripblanks(this.rdnom); if (this.rdnom==emptystr()) { var ok1 = false; diff --git a/js/PDE/PDE.pickle b/js/PDE/PDE.pickle index 3c750d90..5d35faf7 100644 --- a/js/PDE/PDE.pickle +++ b/js/PDE/PDE.pickle @@ -2,20 +2,16 @@ c__builtin__ set p0 ((lp1 -S'okk' +S'x' p2 -aS'lab' +aS'model' p3 -aS'graphics' +aS'rdnom' p4 -aS'x' +aS'graphics' p5 -aS'model' -p6 -aS'rdnom' -p7 -atp8 -Rp9 +atp6 +Rp7 .(dp0 S'params_pde' p1 |