diff options
author | Sunil Shetye | 2018-06-16 17:49:33 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-16 17:49:33 +0530 |
commit | a208791a02511d50eed1663203ac26eabfdfaa6f (patch) | |
tree | 4dfefc8c0a984c07315d4e0a7c6025e0b511fa21 /js/Misc/ENDBLK.js | |
parent | c7c01ce271610f7321a39a2b37cd29d308fb8dbb (diff) | |
download | sci2js-a208791a02511d50eed1663203ac26eabfdfaa6f.tar.gz sci2js-a208791a02511d50eed1663203ac26eabfdfaa6f.tar.bz2 sci2js-a208791a02511d50eed1663203ac26eabfdfaa6f.zip |
add spacing in for statement
Diffstat (limited to 'js/Misc/ENDBLK.js')
-rw-r--r-- | js/Misc/ENDBLK.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/Misc/ENDBLK.js b/js/Misc/ENDBLK.js index 91699d72..ecc38460 100644 --- a/js/Misc/ENDBLK.js +++ b/js/Misc/ENDBLK.js @@ -3,7 +3,7 @@ function ENDBLK() { ENDBLK.prototype.get = function ENDBLK() { } ENDBLK.prototype.set = function ENDBLK() { -for(i=1;i<=length(arg1.model.rpar.objs);i+=1) { +for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o=arg1.model.rpar.objs(i); if (typeof(o)=="Block"&&o.gui=="END_c") { ppath=list(i); @@ -12,10 +12,10 @@ break } newpar=list(); y=0; -for(path in ppath) { +for (path in ppath) { np=size(path,"*"); spath=list(); -for(k=1;k<=np;k+=1) { +for (k=1;k<=np;k+=1) { spath[$+1-1]="model"; spath[$+1-1]="rpar"; spath[$+1-1]="objs"; |