Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing arguments to subs

Status
Not open for further replies.

wwwwill

Programmer
Jan 13, 2003
18
US
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...

w
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top