|
Chris, > Can't you use > > D getLastPeriod pr extproc(CUGLS001_getLastPeriod) That doesn't work because the prototype for getLastPeriod() doesn't match the external procedure. You'd need the following: // this would by /COPY'd in from the CUGLS001 prototype member D CUGLS001_getLastPeriod... D pr like(t_fiscalPeriod) D iCompany like(t_company) D iYear like(t_fiscalYear) // this is now required in each source member that defines an alias D getLastPeriod pr like(t_fiscalPeriod) D extProc('CUGLS001_GETLASTPERIOD') D iCompany like(t_company) D iYear like(t_fiscalYear) Having to maintain multiple prototypes for the same procedure is a bigger problem that what I was originally hoping to solve. It's not a road which I wish to travel down. I started to consider using a procedure pointer in the hope that somehow I could circumvent the duplicate prototype requirement. Of course, I can't. Regards, John Taylor
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.