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

passing variables

Status
Not open for further replies.

benrob82

Programmer
Jul 28, 2005
116
0
0
GB
Hi is it possible to pass a variable to the top of the from the bottom i.e. a count result located in a while loop at the bottom to an if statement at the top?
 
You could put your "if" requirements into a function and call it again for a different result.

What is it you're trying to accomplish? Perhaps there's a better way to structure what you're trying to do.

Andrew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top