summaryrefslogtreecommitdiff
path: root/js/PDE/PDE.js
diff options
context:
space:
mode:
authorSunil Shetye2018-08-27 14:38:26 +0530
committerSunil Shetye2018-08-27 16:43:40 +0530
commit8e6c876e5582928ab6909cf0f3529a97f622520d (patch)
tree3ce13a7e3552486771d147aec6973ff45a6024a5 /js/PDE/PDE.js
parent5cffbe3aa309e242255b96fe954688c6f1380811 (diff)
downloadsci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.gz
sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.tar.bz2
sci2js-8e6c876e5582928ab6909cf0f3529a97f622520d.zip
ignore first and last variable by index, not value
Diffstat (limited to 'js/PDE/PDE.js')
-rw-r--r--js/PDE/PDE.js12
1 files changed, 5 insertions, 7 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;