|
So,have
If you have a program that has lots of subroutines already, and you
tomind
modify this program, Do you use procedures or subroutines ? Keep in
theof
base software package has about 20,000 programs with 2 million lines
codesubroutines.
and all of them have subroutines and no procedures.
To keep the integrity of the system, I think you should use
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
Tom
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
On Behalf Of dieter.bender@xxxxxxxxxxxxgood
Sent: Tuesday, September 28, 2010 11:19 AM
To: RPG programming on the IBM i / System i
Subject: Re: Convert from free to fixed
... interesting, you are a clairvoyant, seeing what other persons are
thinking...
IMHO RPG has sometimes diffrent features, doing similar things and
style is not to use all, what's available, but the most powerfullfeature
of(arbitrary
each category. For instance error handling: you have:
- error indicators in fixed format
- e extenders in free format
- ile condition handlers
- *pssr
- monitor groups
-... maybe I'm overlooking something, I didn't see in > 20 years RPG
comparing this alternatives, monitor is the most powerfull of all and
contains all possibilities the other have and some valuable too
blocks, grouping of conditions), so I clearly recommend to use thisand
onlyvariables
this!!!
Another example:
in RPG you have Subroutines and Procedures a procedure could do all, a
subroutine does and has valuable additional features as local
and
parameters and prototypes for the compiler to check if your call could
haveforget
a chance to succeed - so I clearly recommend to use procedures and
subroutines (for all your newly written stuff). BTW: Prototypes areThere
another
example for doing things not consequently by the developers of RPG.
are languages out there only needing PIs and no PRs.hang
D*B
--------------------------------------------------
From: "Scott Klement" <rpg400-l@xxxxxxxxxxxxxxxx>
Sent: Tuesday, September 28, 2010 5:30 PM
To: "RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>
Subject: Re: Convert from free to fixed
Hi Vern,
Nothing wrong with it - some think tried and true techniques should
never be used, just because they aren't their hottest new thing.
Frankly, that's not a common problem in the RPG community.
A much more common problem is to use old, clumsy, outdated techniques
just because folks are used to them. RPG programmers almost always
mailingon to outdated techniques long after better ones arrive, just because
"we've always done it that way."
--
This is the RPG programming on the IBM i / System i (RPG400-L)
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.
This is the RPG programming on the IBM i / System i (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.
--
This is the RPG programming on the IBM i / System i (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.
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.