diff options
author | Sunil Shetye | 2018-06-19 23:23:04 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-21 18:33:20 +0530 |
commit | 8cf65fe92b28b8809abcb0eb59f951d26f30792f (patch) | |
tree | d9509c35b6a4c3096d4be449935f88af5568276a /js/Sinks/CSCOPXY3D.js | |
parent | 3f563b9e29d42266d6680229da5c29f847804834 (diff) | |
download | sci2js-8cf65fe92b28b8809abcb0eb59f951d26f30792f.tar.gz sci2js-8cf65fe92b28b8809abcb0eb59f951d26f30792f.tar.bz2 sci2js-8cf65fe92b28b8809abcb0eb59f951d26f30792f.zip |
distinguish between functions and arrays
maintain a list of functions
Diffstat (limited to 'js/Sinks/CSCOPXY3D.js')
-rw-r--r-- | js/Sinks/CSCOPXY3D.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js index 7b7787f7..7c8be672 100644 --- a/js/Sinks/CSCOPXY3D.js +++ b/js/Sinks/CSCOPXY3D.js @@ -67,21 +67,21 @@ ok=false; } if (N<2) { for (i=1;i<=size(clrs,"*");i+=1) { -if (clrs(i)>0) { +if (clrs[i-1]>0) { mess=[[mess],["Buffer size must be at least 2 or Change a color (must be >0)"],[" "]]; ok=false; } } } -if (vec_y(1)>=vec_y(2)) { +if (vec_y[1-1]>=vec_y[2-1]) { mess=[[mess],["Ymax must be higher than Ymin"],[" "]]; ok=false; } -if (vec_x(1)>=vec_x(2)) { +if (vec_x[1-1]>=vec_x[2-1]) { mess=[[mess],["Xmax must be higher than Xmin"],[" "]]; ok=false; } -if (vec_z(1)>=vec_z(2)) { +if (vec_z[1-1]>=vec_z[2-1]) { mess=[[mess],["Zmax must be higher than Zmin"],[" "]]; ok=false; } |