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



Vern,


Well, as someone who got to code in RPG with a S/32 more than 30 years ago,
I can tell you that I was really glad to see those letters (SR) go away.
Nevertheless, I was somewhat surprised recently (last year) when I found
that one of my co-programmers wrote his routines that way. Well, to each his
own... (No, I don't want to begin a new thread about programming styles,
that is something very personal).

And, BTW, as the last /end-free is optional, I'm not losing my hope that
sometime we can see those lines disappear too :-)

Regards,

Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--



On Sun, Feb 6, 2011 at 6:14 PM, Vern Hamberg <vhamberg@xxxxxxxxxxx> wrote:

Very cool - wouldn't it be nice if the /free /end-free became optional?
Soon?

:-)

On 2/6/2011 1:20 PM, Douglas Handy wrote:
Vern,

Because there might be those who do NOT know (I had an idea but looked
it up), I'll answer the SR question from the reference manual -

"An SR entry in positions 7 and 8 may optionally be used for operations
within subroutines as a documentation aid."

FWIW, back in the days of RPG II on the S/3 and S/32 it was not optional.
The SR became optional with the S/34 compiler (also RPG II).

Just more arcane gnostic information from someone who was there more than
15
years ago (times two!)...
--
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 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.