|
Bob Cozzi wrote: > > Programs, on the other hand, work a little differently. When a program > calls another program and passes parameters, the parameters are not > checked to see if they match what is required by the called program. This is related to the calling programs or procedures with CALL or CALLB and PARM opcodes, not to calling programs. > As the called program runs, if it "touches" any of the parameters then > the check is performed. Now "touching" a parameter can take on many > forms. But if you use a simply *ENTRY/PLIST without mapping the parms > into a data structure, then you can also use %PARMS to check for > un-specified parameters and simply avoid touching them. This allows you > to call a program with 10 parameters defined and only pass 3. Just > don't touch parms 4 through 10 and you can get away with anything. This part is true for all calls, prototyped or CALL + PARM.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.