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


  • Subject: RE: FW: Random
  • From: "Fisher, Don" <DRF@xxxxxxxxxxxxxxxx>
  • Date: Wed, 16 Feb 2000 13:32:15 -0500

As someone observed earlier, that is not particularly intuitive.  The "For"
construct is, in my opinion, more logical in construction, mostly because it
is not limited to columnar formatting as is the "DO".

That is not to say the contruction is perfect.  The COBOL "Perform"
operation is probably more intuitive, but also more wordy.  That's not a
problem for me, but apparently, it is to some.

The "For" construct offers a good compromise between the RPG DO and the
COBOL "Perform" and has the advantage of high recognition among IS
professionals.

Just my opinion, of course.

Donald R. Fisher, III
Project Manager
Heilig-Meyers Furniture Company
(804) 784-7500 ext. 2124
Don.Fisher@HeiligMeyers.com

<Clip>

1 do 10 x
some code here
2  enddo

this will start with x = 1 and increment by 2.
<clip>
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.