Ok...
If I could have only 3 points to define wich is the closest to me, I could use:
as a draft...
if A<B and A<B then A is the closest
if B<A and B<C then B is the closest
if C<A and C<B then C is the closest.......
but what if I have to check let's say 10 or more distance?
Is there a more simple way to check it in OFP?