|
On Nov 7, 2019, at 8:49 AM, john erps <jacobus.erps@xxxxxxxxx> wrote:
Yes, i wasn't clear.
I mean what is the advantage of using PLIST's.
On Thu, Nov 7, 2019 at 2:42 PM Craig Richards <craig@xxxxxxxxxxxxxxxx>
wrote:
I assumed this was about the PLIST OpCode...--
On Thu, 7 Nov 2019 at 13:39, Alan Shore via RPG400-L <
rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:
Hi Johnto
Maybe I am not understanding what you are asking about
If you call a program, the program either needs parameters to run - hence
a parameter list - or it doesn't
We have many programs that do not use parameters
Conversely - we have a large number of programs that do
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of
john erps
Sent: Thursday, November 7, 2019 8:32 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Parameter lists
Hi all,
In almost every RPG program i see parameter lists are extensively used. I
like to know the advantage of see as i don't see it. It's rather unique
RPG, separating the list of parameters from the actual call.to
Every time i see a call i have to go to the beginning of the program to
see the actual parameters that are used. This, for me, is very
inconvenient. I ever use them. The only "advantage" i see has something
do with "reuse".with
Reuse is good, i wish it would be really used in RPG programs more (i.e.
service program and procedures etc). Instead, we got "parameter lists".
What is the advantage of parameter lists??
I suspect there is no advantage, just "we always do it like that". They
were just introduced to cope with the limited punch card format. Same
key lists actually. But these days we don't have to use them anymore.--
Provided free format RPG is used.
Parameter lists... does anybody know there advantage, besides obscuring
the program??
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.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.