× 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: ILE RPG:Is the use of ITER & LEAVE Structured Programming?
  • From: "Rick Baird" <rbbaird@xxxxxxxxxxx>
  • Date: Thu, 23 Apr 1998 09:46:54 -0500
  • Organization: Premium Systems, Inc.

Frank,

I use leave and iter all the time, and I consider my programs very structured 
and easy to read.   Yes, at first glance, it seems as
if they are just goto's without tags, but, when used as directed they subtract 
complexity and improve readability.

If you have to introduce complexity or inhibit readability to conform to an 
arbitrary set of rules, you are defeating the purpose of
structured programming.

These opcodes are simply another tool in your tool box, and like any tool can 
be used effectively, as well as abused.  

2cents(*off)

regards,

rick

frank.meaney@nellcorpb.com wrote:
>
>Hi Folks,
> 
>I was just looking at a printout from the News400.com website about
>RPG ILE (tips and techniques). I belive the text was authored by
>Bryan Meyers. However he mentioned the use of ITER and LEAVE in the
>context of structured programming.
>
>I suppose I am a purist and I ensure that these opcodes are not part
>of any new development that we produce. IMHO these opcodes are GOTO's
>without TAGs and are not structured programming. I'd love to hear
>other opinions on this. And what is a strict defination of Structured
>programming.
> 
>Regards,
> 
>Frank Meaney.
>      (Unisoft Systems Ltd)
> 
> 
> 
> 
> ______________________________ Forward Header 
>__________________________________
> Subject: Re: ILE RPG
> Author:  <MIDRANGE-L@midrange.com > at NPB-INTERNET-MAIL
> Date:    4/19/98 4:49 PM
> 
> 
> >Hi Guys...What would be the easy to learn ILE RPG. I have been working in
> >RPG/400 V3R1. Please let me know some good sites or books available in the
> >market.
> 
> Any books by Bryan Meyers are highly recommended. Also, check out both MC
> and NEWS website, at least one (and I think both) have published
> RPG/400->ILE RPG converters that do a little more than the AS/400 converter.
> 
> rp
> 
> 
> 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@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
> +---
> 
> 
>   
>------------------------------------------------------------------------------------------------------------------------------------
> 
>                     Name: RFC822.TXT
>    RFC822.TXT       Type: Plain Text (text/plain)
>                 Encoding: 7bit
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@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 ...

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.