×
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.
smorrison@xxxxxxxxxxxxxxxxxxx wrote:
What do you think ITER and LEAVE
are, except a fancy GOTO without an explicit TAG? I felt the same way
about CABxx (Case and Branch) when that was the popular new op-code!
I've seen this "GOTO by another name" argument a few times in this
thread. Doesn't it logically follow then that loops and other branch
statements (SELECT-WHEN, IF) are also bad?
FWIW, I also dislike CABxx, but that has more to do with my preference
for subprocedures over subroutines. I also try to avoid ITER and LEAVE
where possible, but I think that they can make code more readable in the
"loop completion is the exception" cases that James mentioned. In those
cases I find that putting all the logic in the loop's logical expression
tends to make the expression overly complex.
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.