Hi Pat,
First off, you need to get out of the lat/long scenario. Math on a
spheroid is often both horrendeously troublesome and quite
unnecessary.
Instead utilize MI Pro's projection capabilities.
In your MB program switch to a stereographic "flat" projection
centered tangentially at the point where the two lines originate.
This will be your (0,0).
Then fetch the coordinates of the end points of both vectors/lines
(which will automatically be converted to the flat projection),
and calculate the angle using a simple geometric calculation, e.g.
by utilizing formulas on this page:
http://en.wikipedia.org/wiki/Dot_product
Best regards / Med venlig hilsen
Lars I. Nielsen
GIS & DB Integrator
GisPro