hi Roy,

There isn't really any setup or tricks to it. When you change the value of a parameter, it'll automatically be changed in the calling program.

So all you have to do is have the caller pass a variable for the "returned number" parameter, and then set that parameter to the value you want to return.

It's really that simple.


lwl wrote:
I understand how a programmer passes parameters to a called program but how
does a programmer structure the called program to pass a parameter back to
the calling program? And what has to be done within the calling program to
receive the parameter being passed by the called program?

This thread ...

Replies:

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.