Program listing for RPN Sunrise/Sunset
|
10-14-2017, 05:25 PM
(This post was last modified: 10-14-2017 05:37 PM by Dieter.)
Post: #2
|
|||
|
|||
RE: Program listing for RPN Sunrise/Sunset
(10-14-2017 04:10 PM)Craig Bladow Wrote: In the Articles section there is a listing for Program to calculate Sunrise/Sunset times. I came across a character in the program listing on line 68 (and others) that is puzzling. It looks like it should be an operator, but the section of listing below includes the other common arithmetic operators. Can someone explain what this is? If you look at the DOY routine it seems that this "•" must be a minus. This also matches line 68 where the difference between 6:00 resp. 18:00 h and the longitude divided by 15° (R07) is calculated. The same is true for the code around line 145 where, depending on flag 02, either a longitude or 360° minus this is calculated. BTW there seems to be a similar problem with the 35s version. There are several lines with an "1." which also seems to stand for a "–" minus. However I wonder why this "•" or "1." lines appear in the listing while elsewhere a simple "–" seems to work fine. Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Program listing for RPN Sunrise/Sunset - Craig Bladow - 10-14-2017, 04:10 PM
RE: Program listing for RPN Sunrise/Sunset - Dieter - 10-14-2017 05:25 PM
RE: Program listing for RPN Sunrise/Sunset - Craig Bladow - 10-14-2017, 05:44 PM
RE: Program listing for RPN Sunrise/Sunset - SlideRule - 10-14-2017, 06:26 PM
RE: Program listing for RPN Sunrise/Sunset - Craig Bladow - 10-14-2017, 09:20 PM
RE: Program listing for RPN Sunrise/Sunset - Dieter - 10-15-2017, 05:16 PM
RE: Program listing for RPN Sunrise/Sunset - Dieter - 10-16-2017, 11:15 AM
RE: Program listing for RPN Sunrise/Sunset - Craig Bladow - 10-15-2017, 10:15 PM
RE: Program listing for RPN Sunrise/Sunset - Craig Bladow - 10-16-2017, 02:10 AM
RE: Program listing for RPN Sunrise/Sunset - Craig Bladow - 10-17-2017, 01:14 PM
|
User(s) browsing this thread: 2 Guest(s)