|
Jeff Crosby wrote: > > I have converted a couple of programs to free-format C-specs ("FFT"). > One of the op codes not supported in FFT is the CALL opcode. The > suggestion in the manual and elsewhere is to convert these to > procedures. > You don't have to convert your programs to procedures. You just have to use a prototype to call the program. (The manual says "Use the CALLP operation code". CALLP stands for "call with prototype", not "call a procedure"). This CALL/PARM code: C CALL 'MYPGM' C PARM P1 10 C PARM P2 5 2 becomes this prototype/callp code: D MYPGM PR EXTPGM('MYPGM') D p1 10a D p2 5p 2 /free mypgm (p1 : p2); or callp mypgm(p1 : p2);
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.