LF: Re: Announce: Kcal 0.1b (Calendar program)


[Prev][Next][Index][Thread]

LF: Re: Announce: Kcal 0.1b (Calendar program)



You have an error in your calendar program.

A year is a leap-year if it is not a century year and is divisible by four.
 Or if it is a century year, then it must be divisible by 400. 
Consequently, 1700, 1800, and 1900 are not leap-years, but the year 2000 is
a leap-year.  This is because there is less than 365.25 days in a year, so
only every fourth century is counted.

Your progam has a February 29 for the year 1900, and it should not.

John Gebert

----------
> From: Kevin T. Huber <khuber@MR.Net>
> To: list-fargo@lists.ticalc.org
> Subject: LF: Announce: Kcal 0.1b (Calendar program)
> Date: Friday, November 29, 1996 2:14 AM
> 
> 
> Well, this is my first stab at a Fargo program.
> 
> Kcal 0.1b - 1723 bytes
> 
> Use the cursor pad to change the month and year
> left:  previous month
> right: next month
> up:    next year
> down:  previous year
> 
> mode:  save current month
> clear: restore saved month
> 
> If you find any bugs, please email me ASAP: khuber@mr.net
> 
> Whoever archives these things, go ahead and put this up if you want.
> 
> -Kevin
> khuber@mr.net
> 
> Here's the uuencoded version:
> 


Follow-Ups: