Author |
Topic  |
|
seley2
USA
2 Posts |
Posted - 11/30/2011 : 7:09:04 PM
|
I am trying to perform reducedup for multiple of worksheet on a set of data Col(A)=X, Col(B)=Y and produce the results in Col(D), Col(E). However, when I attempt to to this using the following code, it only produces results for the first row of each column. What am I doing wrong? (Sorry, I'm totally new to Labtalk).
loop(jj, 1, page.nLayers) { page.active = jj; range riy = (col(A),col(C)); range roy = (col(D),col(E)); reducedup method:= min tol:=1 iy:= riy oy:= roy; }
Thank you!
Cheers, Serena |
|
Drbobshepherd
USA
Posts |
Posted - 12/01/2011 : 10:35:49 AM
|
Could be that your tolerance value is too large for your input x-values, so the reducedup function determines all your x-values to be duplicates. Delete the "tol:=1" from your X-function call and see if you get the desired effect; this will set the tolerance level to the default 1.0e-8. |
 |
|
seley2
USA
2 Posts |
Posted - 12/01/2011 : 10:44:17 AM
|
That was the problem. Thanks a lot! |
 |
|
|
Topic  |
|
|
|