Walden wrote:

> But I don't seem to be able to pass subfields as parms. So:

Walden, I think the problem is that you can't define parameters in the
*entry list in a data structure. The data structure after all is contained
within your program whereas the passed parameters exist outside the
program.

> Now, I know all I really need to do is an "eval
> p1bcst = w1bcst" for each parm before the call
> and a "eval w1bcst = p1bcst" for each parm after
> the call, but when you have >40 parms and numerous
> programs with this problem you look for shortcuts

A neater way to achieve the same thing might be like this.

C     *entry        plist
C     p1bcst        parm                    p01
C     p1bbnb        parm                    p02
C     p1bdst        parm                    p03

C     *like         define    p1bcst        p01
C     *like         define    p1bbnb        p02
C     *like         define    p1bdst        p03

Dave...
               _________  ,___o
             __________   _\ <;_
           ___________   (_)/ (_)       http://www.twickenhamcc.co.uk
=======================================================
The opinions expressed in this communication are my own and do not
necessarily reflect those of my employer.



This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.