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



*NOPASS 
John Brandt

-----Original Message-----
From: G Armour [mailto:garmour400r@xxxxxxxxx]
Sent: Friday, October 24, 2003 10:20 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Benefits of Sub-procedures


--- Barbara Morris <bmorris@xxxxxxxxxx> wrote:
> Andy Holmer wrote:
> > Barbara,
> > 
> > Please correct me if I misunderstand this...
> > >
> > I can always prototype the program call incorrectly.  The compiler will
> > ensure that I call the way that I have prototyped, but not necessarily
> > the way the *Entry PLIST was defined.  I do not get that kind of
> > checking unless I use Sub-Procedures and a /COPY book to check the
> > prototype against the interface as I compile the module.
> 
> Andy, you can write your program to /copy in the prototype and use a
> procedure interface instead of the *ENTRY PLIST.  Then you get the same
> parameter checking as with procedures.

<After blank gaze passes>
This love affair with /copy baffles me.  But if this is an advantage for
prototypes,
why not just /COPY the parameters for the *ENTRY & CALL PLISTs?  If you do
that,
what advantage do prototypes have over *ENTRY?

Not picking a fight, just really curious.  Honest.

GA


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.529 / Virus Database: 324 - Release Date: 10/16/03
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/03
 

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.