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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Variables from Function Calls

Status
Not open for further replies.

ncramer

MIS
May 23, 2002
1
US
How do you pass a variable from a function to the main part of the script?
 
The best way to do this is pass a parameter by reference to the function and allow the function to modify this variable. The variable in the main body of the program will then be modified accordingly. Mighty :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top