Can someone please explain how to circumvent using public variables by passing arguments to subroutines? Also a good site that ClearLy explains the passing of arguments between subs would also be appreciated. Many thanks...
You can begin by looking in the help file under SUB STATEMENT and FUNCTION STATEMENT paying particular attention to the discussion of the arglist argument. Then write some test routines to experiment. Once you learn the difference between ByRef and ByVal you will have learned most of what you need to know.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.