|
I think you're talking about in-line code or rather inline procedures. I think IBM has that on our wish list for RPG IV, if/when we ever get overloaded procedures, I would anticipate also getting an INLINE keyword on procedures too. Bob Cozzi Cozzi Consulting www.rpgiv.com -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Steve Richter Sent: Monday, December 15, 2003 9:01 AM To: RPG programming on the AS400 / iSeries Subject: RE: what is a bound program access built in number there are two situations where implementing a proc as a built in is necessary: Procs that call qcmdexc to do an override dont work because once the proc returns, the override scope has ended. messages sent by procs that wrap qmhsndpm dont reflect the actual proc that is sending the message. if procedures like _lbcpynv and ceedod can be implemented as built ins, why cant user procedures have that same capability? what is the point of the mi reference giving the built in number if the programmer cant use that information? -Steve -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Steve Richter Sent: Friday, December 12, 2003 1:07 PM To: Chat. Rpg400-L Subject: what is a bound program access built in number I am looking at the _LBCPYNV api. it is used to copy one numeric variable to another in a generic, variable descriptor kind of way. The call looks something like this: _lbcpynv( %addr(receiver): %addr(ReceiverScalarDescriptor): %addr(source): %addr(SourceScalarDescriptor)) ; I notice on v5r1 that if the prototype does not have the correct signature the compile of the module bombs the rpg compiler. which gets me thinking that procs like _LBCPYNV are probably not called like standard procs are called, that is instead of an full ile invocation stack call, I would guess the "call" is actually just implemented as inline code. Similar to how CEEDOD and other such procs are implemented. I am curious to know if I am correct on that. also, what is meant by a bound program access built in number? The built in number of LBCPYNV is 129. How is that number used? thanks, -Steve _______________________________________________ This is the RPG programming on the AS400 / 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. _______________________________________________ This is the RPG programming on the AS400 / 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 mailing list archive is Copyright 1997-2025 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.