DistanceBetweenPointsXYZ
not ratedSame as DistanceBetweenPoints but does not take locations.
function DistanceBetweenPointsXY takes real x1, real y1, real x2, real y2 returns real
return SquareRoot((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2))
endfunctionNo comments.