|
I'm trying to figure this out, too. This is how a FOR loop is supposed
to operate - the test exceeds the limit.
The original question was why we start with 1
- example given was a FOR
loop - but I suspect the question was really about array bases -
zero-based for C/C++, say.
I and others have offered some speculation on
that, and have moved tangentially into errors when the loop counter may
exceed the limits of the data type used for that variable. So I'm flatly
getting a little lost!! See my last post in response to this.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.