Quote Originally Posted by demian View Post

Stupid question - can you please explain the details of why you need to get out of J loop
Once you find the next X(j) with a Y(j) <> 0 and use it to interpolate the X(I) with the Y(I) = 0, you don't want to continue looking since that could overwrite the Y(I) you just calculated