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