[Info-vax] Significance of 2020 / 2021 date
abrsvc
dansabrservices at yahoo.com
Sat Jan 9 08:06:05 EST 2021
On Saturday, 9 January 2021 at 07:55:42 UTC-5, Andy Burns wrote:
> Chris wrote:
>
> > Ideally, you get the user input, parse it to verify correct format and
> > only then, pass the year field to the conversion routine. Only a few
> > lines of added code needed to do it right.
> Yes, but we're told this is 30 year old code, simpler times.
Perhaps a different approach is needed here. While the focus thus far has been on the IF statement, perhaps this code has never worked as expected. Can you post the machine code listing for that segment of the code? I have worked with a number of code bases where the code appears to work, but in fact was not and the failure was hidden. That may be the case here as well.
More information about the Info-vax
mailing list