summaryrefslogtreecommitdiff
path: root/js/Branching/GOTOMO.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/GOTOMO.js')
-rw-r--r--js/Branching/GOTOMO.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js
index 76e1d633..b4d615bf 100644
--- a/js/Branching/GOTOMO.js
+++ b/js/Branching/GOTOMO.js
@@ -33,23 +33,23 @@ function GOTOMO() {
exprs = graphics.exprs;
model = arg1.model;
while (true) {
- [ok,tag,tagvis,exprs] = scicos_getvalue("Set parameters",[["Tag"],["Tag Visibility(1=Local 2=scoped 3= global)"]],list("str",-1,"vec",1),exprs);
+ [ok,this.tag,this.tagvis,exprs] = scicos_getvalue("Set parameters",[["Tag"],["Tag Visibility(1=Local 2=scoped 3= global)"]],list("str",-1,"vec",1),exprs);
if (!ok) {
break;
}
- tagvis = int(tagvis);
- if (((tagvis<1)||(tagvis>3))) {
+ this.tagvis = int(this.tagvis);
+ if (((this.tagvis<1)||(this.tagvis>3))) {
message("Tag Visibility must be between 1 and 3");
ok = false;
}
if (ok) {
- if (((model.ipar!=tagvis)||(model.opar!=list(tag)))) {
+ if (((model.ipar!=this.tagvis)||(model.opar!=list(this.tag)))) {
needcompile = 4;
y = needcompile;
}
graphics.exprs = exprs;
- model.opar = list(tag);
- model.ipar = tagvis;
+ model.opar = list(this.tag);
+ model.ipar = this.tagvis;
this.x.model = model;
this.x.graphics = graphics;
arg1 = this.x;