×
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.
On 2024-02-20 12:21 p.m., mlazarus wrote:
I wish that RPG had a "CONTINUE" type of function within the SELECT
block, so that if I do want it to go to the next condition it would do
that.
-mark
Me too.
I do like the C/Java feature where it will continue with the next case,
but I dislike the way it defaults to that. I always put a "fall through"
comment in my C code where there would be a "break" if I want it to
continue to the next case. But it's annoying to have to carefully study
code with a missing break when there's no comment about intentionally
continuing.
switch (x)
{
case 1:
dosomething();
// fall through to next case
case 2:
doSomethingElse();
break;
...
}
So for those occasions where it would be useful for SELECT to continue
with the next WHEN, an opcode to request that would be nice.
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.