|
Hi JamesSeems someone answered this earlier - there are 2 pragma's that make this happen - pragma linkage and pragma map - check them out in the C Language Reference preprocessor directives chapter - 8, I think.
HTH Vern At 04:46 PM 3/7/2007, you wrote:
"Alan Campin" wrote: > A better way, always prototype your calls. > > D MyName... > d pr ExtPgm('MYLIB/MYPGM') > d Parm01... > d 10a Const > > MyName(Parm); Uh, but that still sidesteps the small issue that Mr. Mason was proposing an RPG solution (not to mention one that I've been aware of for some time, and use frequently) to a C problem. In RPG, you can call whatever you damn well please, and qualify it however you damn well please. The question was about C. At this point, it's also moot, since I realized that this was a situation in which I could safely append the library with the needed program to the end of the *LIBL. -- I must go down to the 'C' again, To the loony 'C', and cry. JHHL -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.