|
For X = 1 by 3 to 100 "the real work" .... EndFor From the Book: +-------------------------------------------------------------------------- ¦ Code ¦ Factor 1 ¦ Extended Factor 2 +-------------------------------------------------------------------------- ¦ FOR ¦ ¦ Index-name = start-value BY increment TO/ ¦ ¦ ¦ DOWNTO limit +-------------------------------------------------------------------------- Christopher K. Bipes mailto:ChrisB@Cross-Check.com Sr. Programmer/Analyst mailto:Chris_Bipes@Yahoo.com CrossCheck, Inc. http://www.cross-check.com 6119 State Farm Drive Phone: 707 586-0551 x 1102 Rohnert Park CA 94928 Fax: 707 586-1884 If consistency is the hobgoblin of little minds, only geniuses work here. Karen Herbelin - Readers Digest 3/2000 -----Original Message----- From: Erick Garske [mailto:erick@formationmg.com] Sent: Monday, November 06, 2000 7:27 AM To: midrange-l@midrange.com Subject: FOR loop available in RPG IV I heard recently that there is a FOR loop available in RPG IV (no pun intended). The SEU editor will accept it and it looks like there is an ENDFOR statement as well. Has anyone here used the FOR loop syntax? Is it exactly like the do syntax? Erick Garske, Software Engineer FORMation mg http://www.formatinomg.com <http://www.formatinomg.com/> mailto:erick@formationmg.com Voice: (949) 598-8890 x 108 Fax: (949) 598-8899 Eliminate the cost of preprinted forms forever +--- | 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 +--- +--- | 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 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.