But smart BASIC should be up to the task. The problem is to find a formula that works to calculate distance from two latitudes and longitudes, and to correctly enter it into sB commands. I did an hour of searching last night, and this was the closest I came:
But I don't see how to code it in sB, since Radians is an option setting, not a function. I'd appreciate any insights anyone can give.If you want to find the distance between two points just use this formula and you will get the result in Km, just convert to miles if needed.
Point A: LAT1, LONG1 Point B: LAT2, LONG2
ACOS(COS(RADIANS(90-Lat1)) *COS(RADIANS(90-Lat2)) +SIN(RADIANS(90-Lat1)) *SIN(RADIANS(90-lat2)) *COS(RADIANS(long1-long2)))*6371