Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Jonathan Leffler — — source: Informix-list mailing list archive (1991-1998)
>From: Moffat <lpm008@email.mot.com>
>Date: Tue, 08 Jul 1997 16:08:24 -0400
>X-Informix-List-Id: <news.40205>
>
>This is to the person who has an informix 2 legacy system.
> The year 2000 is not a leap year.
This is to the person who thinks that the year 2000 is not a leap year.
******************
** Think Again! **
******************
if (year % 400 == 0)
leap_year = true;
else if (year % 100 == 0)
leap_year = false;
else if (year % 4 == 0)
leap_year = true;
else
leap_year = false;
Just in case there's any doubt, the '%' represents the modulo operator of
C/C++ and returns the integer remainder when the integer left operand is
divided by the integer right operand.
You need to take a remedial course in 'The Year 2000 -- Issues for Computer Professionals'.
Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>
PS: I decline to respond to messages with anti-spam in the return path.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.