<br><div class="gmail_extra"><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The catch to the approach suggested by Chris is that you DON'T want to<br>

break out of the whole loop when one value is out of range.  You only<br>
want to skip that one point.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></blockquote><div>Yes I want to skip only that one point (centre)  but try and expect seems to be the last option.. I would like to try other ways first.. <br></div><br></div><br></div>