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

Resetting a variable

Status
Not open for further replies.

ApplePirate

Programmer
Dec 16, 2002
65
GB
How do i reset a variable?
Never ever, bloody anything, ever
 
Just assign it a new value.

For instance:

Dim i As Integer
i = 0

'do stuff with i

'now reset it
i = 0 'again "The Key, The Whole Key, and Nothing But The Key, So Help Me Codd!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top