I would consider the extra months just proper "error testing" remnants. Better than getting a "Subscript out of range" error if one typed the program in by hand and made some kind of typo, that resulted in a month other than March or April being designated. The invalid months could be removed and then the value of N adjusted to have M$[ ] a two element array.
I did check the results with information I found on the U.S. Census website (Dates of Easter from 1600 to 2099 - X-13ARIMA-SEATS Seasonal Adjustment Program - US Census Bureau <https://www.census.gov/srd/www/genhol/easter500.html#:~:text=Date%20of%20Easter%20%281600-1699%29%20%20%20%20Years,%20March%2031%20%2016%20more%20rows%20> ) and it worked back to the year 1600. So should be good for any calendar program. Regards, Peter On 8/30/21 4:56 PM, Ken Pettit wrote: > Hey Peter, > > Yeah, BASIC seems to know standard arithmetic precedence. And now that > I think about it, I guess I really didn't need to read in ALL of the > months to M$ array ... I don't recall ever celebrating Easter in December > :) > > Ken > > <snip>