On Sun, Oct 19, 2014 at 11:26 AM, JOHN PATTEN <johnpat...@me.com> wrote:

> I figured I was making it more difficult than it needed to be :)
>
>
But of course :)

Anyway, you want to sum the *squares* of the X & Y differences, not the
abs(), to get the shortest distance.  (the distance is actually the square
root of this, but if you're only comparing, there is no need for that
calcuation)


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to