×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Actually, I can see why it works this way, if you're using the BY clause
with an increment value other than 1.
For instance, if you have:
FOR x = 1 to 8 by 3
then since that won't end exactly at 8 (1, 4, 7, 10), then you'd probably
want x to end up after the loop with a value of 10 rather than 7.
At least where the increment value is 1 (either implicitly or if "BY 1" is
specified, *I'd* want x to have the last valid value (i.e. the limit value).
But maybe that's too complicated. But how hard would it have been to add
some extra compiler-generated code (W-code?) to reset the index to the limit
where the increment is 1? It's one line of code, I'd guess.
Of course now they won't do it because of backwards-compatibility.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.