BBS: Inland Empire Archive Date: 06-17-92 (14:47) Number: 766 From: BILL WHITE Refer#: NONE To: DICK DENNISON Recvd: NO Subj: Re: formula Conf: (2) Quik_Bas
DD>NumLeap% = YY% \ 4 DD>IF YY% MOD 4 = 0 THEN DD> NumLeap% = NumLeap% - 1 DD> IsLeap% = 1 DD>ELSE DD> IsLeap% = 0 Pardon, but this overlooks the fact that the century years are leap years ONLY if they are divisible by 400. 1900 was NOT a leap year, 2000 Will be. Common error. The Bill White in Miami, FL * SLMR 2.1a * Most taglines are stupid. This is a Most tagline! --- Maximus 2.01wb * Origin: Miami Amateur Computer Club BBS HST/V32b/V42b (1:135/110)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET