× 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.



My university professors would have rejected my code because the LEAVE
is considered nothing but a GOTO.
Instead they would have INSISTED on the Select statement because that
is structured programming technique.

Oh, now that's funny! A leave is a GOTO (I agree, by the way - especially
after the compile) - BUT an ENDDO or an ENDFOR is ... what exactly? In
fact, an ELSE is what, exactly, after the compiler is done with it? It's
rich to see a learned group reject something on the basis that it's just
like so many things that they accept!

LEAVE, by the way, (originally, "break" in C) *is* a part of the structured
programming style, just like else and all the others. And, yes, they all
generate GOTO under the covers. The difference is in the way we can read
them, and how they improve our logical understanding, and how we can
organize the 'thoughts.'

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"When a man says he approves of something in principle, it means he hasn't
the slightest intention of putting it into practice."
-- Prince Otto von Bismark




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.