> where the m is not used in the loop and should have just been initialised > outside it! There's more, but you get the idea. </rant> It also doesn't help > that I'm translating code that carries out calculations that are well above > my comprehension (calculates the 2000 Epoch World Magnetic Model for a given > Lat, Long, Altitude, and Year using spherical-harmonic Gauss coefficients - > whatever they are). Cheers, Phil.
Well those calculations are also available in Fortran if you prefer. I translated those earlier in the year into VBA for ArcGIS, but was using the IGRF files so can calculate for any year, any lat/long. ---------------------------------------------------------- Phil Scadden, Institute of Geological and Nuclear Sciences 764 Cumberland St, Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232 _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
