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



GOTOs have nothing to with the cycle.
Also, GOTOs are pretty handy if there are no exsr, begsr, and endsr opcodes

James Perkins wrote:
Please all don't hate me too much ;-), but I HATE cycle programs. It never
fails I have to update one and have to use an ugly GOTO. I have never and
will never personally write one.

I find that:
dou (%eof(file));
read file myDS;
if (%eof(file));
leave;
endif;

if (not valid());
iter;
endif;
enddo;

is much easier to understand than GOTO. The GOTO doesn't always go to the
END, it could process stuff further down and I just hate trying to figure
out what it's doing.

Then again, I have the "If I can't do it in free, then I don't need it"
philosophy.

James R. Perkins
------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.4/1880 - Release Date: 1/7/2009 8:49 AM



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.