|
You can't call a procedure in a service program without using prototypes.
That's not true. I discourage people from calling procs in service programs without prototypes -- but it's certainly POSSIBLE.
Where are you using *ENTRY PLIST? There's no such thing as an *ENTRY PLIST for a service program.
Again... I'd recommend against it, but that doesn't make it impossible.The problem is that you can't define a BASED variable as an input parameter. It won't work with either a PI or an *ENTRY PLIST. You can pass it OUT, but you can't receive it IN. The reason should be obvious -- the whole way that parms work is by receiving a memory address and (under the covers) basing that parameter in the memory at the given address. If the variable is BASED, that means the address is controlled by a local pointer, and NOT by the parameter... so it wouldn't make any sense.
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.