|
-
April 29th, 2003, 09:49 PM
#1
Member
visual basic
I have to do a project in VB for school, and as much as I hate it I have to pretend I know it, could anyone help me with:
Resetting a variable, I want to be able to click a button and the variable is reset back to zero, i tried var = 0 but it doesn`t affect it, and i need it to remember its' value so i did:
static var as currency, so what i`m asking is, is there a way to reset a variable which has been declared static?
Also, how do you test whether user-input is a certain type or not, i.e if it's a string, or a integer etc, i can`t find a function for it anywhere.
Anyway if you've read this far, thank you.
And I appologise, it appears this isn't the general forum... there's just so many!
Sorry `bout this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|