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



another example...

dcl-proc handleOrder;
dcl-pi *n extproc(*dclcase) end-pi;


In both cases, no PR is needed.

Note that if you have a PR, the extproc(*dclcase) must go on the PR, having
it in both places will cause a compiler error.

Charles


On Wed, Sep 9, 2020 at 8:46 AM Charles Wilt <charles.wilt@xxxxxxxxx> wrote:

Thomas,

The functionality you want is already there...you can use
extproc(*dclcase) on the PI

just do the following on your proc...

dcl-proc MyProcedure;
dcl-pi *n ind extproc(*dclcase);
parm1 char(10) value;
end-pi;

end-proc;

Charles



On Wed, Sep 9, 2020 at 12:20 AM Thomas Raddatz <thomas.raddatz@xxxxxx>
wrote:

Hi,

I just create a RFE to keep the definition case of local procedure names.

I assume that everyone is happy about that we no longer need to create
prototypes for local procedures. But if somebody wants to keep the
definition case of local procedure names, he must create a prototype with
the 'extproc' keyword. That is a lot of additional work and it is error
prone in subject of typos at the extproc keyword.

Camel case names are far better to read than upper case names especially
when the procedure names get longer.

Feel free to look at the RFE. If you like it, please vote for it:


https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=145131

Thanks,

Thomas.
--
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@xxxxxxxxxxxxxxxxxxxx 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 thread ...

Follow-Ups:
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.