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



I'm inclined to do what Charles recommends. The "new procedure" wizard doesn't support that, however, and I use that a lot.

This is similar to my practice of making, in CL, a DO-ENDDO block for any IF constructs. Again, things MIGHT change in the future, and it's a tiny bit of effort to do it.

Languages such as Pascal require a block, IIRC. If not Pascal, other languages do.

Vern

On 2/7/2013 12:27 PM, Charles Wilt wrote:
In the v5r4 PDF manual (The oldest I have ;))
"continuation rules for specifications" page 239

It's usually used only for long names
D charlesNextRecord...
D PR 1N ExtProc(*JAVA:
D 'java.sql.ResultSet':
D 'next')
But I'll often use it on short ones, since I tend to rename things, plus I
think it's a little cleaner if all the specs match.

Charles


On Thu, Feb 7, 2013 at 1:21 PM, James H. H. Lampert <
jamesl@xxxxxxxxxxxxxxxxx> wrote:

Given this prototype:
D nextRec...
D PR 1N ExtProc(*JAVA:
D 'java.sql.ResultSet':
D 'next')
I was about to ask why nextRec takes a parameter when called, but
doesn't declare one in the D-Spec, but I found the answer to that, on
page 191 of the V6 ILE RPG Programmer's Guide.

But I still don't get the business with the name on one line, followed
by 3 periods, and then the rest of the declaration on the next line.
Where is that in the manual?

--
JHHL
--
This is the RPG programming on the IBM i (AS/400 and 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.




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.