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



No my little MQC - you are practical - not lazy.

I hate goto with a passion. Have been burnt by it so many times.

I've never been burnt by Leave or Iter - both are obvious, clear, unambiguous. Purists can scream all they want, they work. Often code written to avoid them is far worse.


On 2013-07-23, at 7:44 PM, DrFranken <midrange@xxxxxxxxxxxx> wrote:

I like James' explanation here but I stay more on the Practical side. If
I copy a chunk of code or move a chunk of code and there are "GoTo"
instructions I must carefully analyze the tags and determine if they
also must be moved or if new ones must be created. Failure to do so can
break program logic very badly. With a loop that utilizes Leave in
addition to a normal exit 'at the bottom' it's very easily portable with
essentially no risk to primary program flow.

Translation: I am lazy. :-)

- Larry "DrFranken" Bolhuis

www.frankeni.com
www.iDevCloud.com
www.iInTheCloud.com

Jon Paris

www.partner400.com
www.SystemiDeveloper.com





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.