[Info-vax] Significance of 2020 / 2021 date
Andy Burns
usenet at andyburns.uk
Sat Jan 9 08:30:37 EST 2021
abrsvc wrote:
> 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.
I suspect the code in both 'halves' of the IF statement is working as
expected, if year > 2020 thenreject the date, otherwise accept the date.
The real question is what demon (possibly lurking in a non-obvious part
of the system) will barf if a 2021 date were accepted? There may be no
demon.
More information about the Info-vax
mailing list