> I found this link. It might be easier to convert this code to LC. > http://williams.best.vwh.net/sunrise_sunset_algorithm.htm > Bill > > William Prothero > http://es.earthednet.org
These algorithms have now been superceded by the NOAA algorithms http://www.esrl.noaa.gov/gmd/grad/solcalc. There are links to Solar Calculation Resources at the bottom of the page. Having already ported NOAA to LiveCode, I have uploaded some more information on the stack and a screenshot here... www.FlexibleLearning.com/solarclock If interested in purchase, let me know. It took a lot of work! Alternatively, do the conversion yourself using the data sheets and web pages available. Hugh Senior FLCo _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode