pass arguments to function

G

Guest

I have a function with arguments and need to pass values of those arguments
to another function called from the first function. Can these arguments have
the same name in both places? Does this cause subsequent maintenance problems
or confusion troubleshooting errors?

Thanks so much!
 
D

Douglas J. Steele

Parameter names are unique to each function. Having the argument names be
the same will not cause any problems. Look at the declarations for the
various events in a form: the same parameter names are consistently reused.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top