Re: Weak globals

Joe Pluta <joepluta-Kokj9vFzZubAKuVPhbf8BAC/[email protected]> Thu, 4 Apr 2019 15:53:25 -0500
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
I'm sorry, Senator, but I have no recollection of a procedure named 
SRVPGM_INZSR...

On 4/2/2019 6:45 PM, Roger Harman wrote:
> I heard that!!
>
> Roger Harman
> COMMON Certified Application Developer - ILE RPG on IBM i on Power
>   
>
>
>
> From: C400-L <[email protected]> on behalf of Joe Pluta <[email protected]>
> Sent: Tuesday, April 2, 2019 7:39 AM
> To: [email protected]
> Subject: Re: [C400-L] Weak globals
>   
> Hi Mark!  I'm trying to do almost exactly what the example I alluded to
> talks about, which is overriding a library function.  Very specifically,
> I'm going to write a service program initialization function that does
> nothing, and allow developers to override that function to provide what
> is in effect a *INZSR for service programs, but don't tell Roger!  :)
>
> On 4/2/2019 9:29 AM, Mark Waterbury wrote:
>>     Joe:
>> See the ILE Concepts manual, around page 76, for a detailed explanation of "weak exports."
>>
>>
>> What are you hoping to achieve by using this feature?
>>
>>
>>     (So, "ILE" really does mean "It's a Linkage Editor!") ;-)
>>
>>
>> Hope that helps,
>>
>> Mark S. Waterbury

-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com