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!

need help on variables, please

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I cant figure out how to pass variables (#,$,%)from my main module to a sub, and vice-versa...please help me, QB 4.5's help files didn't tell me much...



nice forum you got here! Im linking your site from mine!
-SD

 
simple, in the declaration of the sub/function insert your variables as parameters:
yoursub (yourvar,yourvar2,etc..)
or you might declare a var with DIM SHARED in the main module so that you can use it even in your subs/functions
This is a game. Who is the toy?
.:: PZ ::.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top