|
-
Sep 4th, 2002, 05:26 AM
#1
Thread Starter
New Member
How do I clear a variables TYPE values?
Hi, I have a large variable defined as a TYPE with approx 30 elements.
Is there an easy way to clear all the values without going thru each one?
Thanks
-
Sep 4th, 2002, 06:00 AM
#2
Frenzied Member
Don't think so.
If you declare a new variable of this type all will be cleared.
If you are using one in a function and it needs to be cleared into this function i suggest you write a clear sub which clears all variables in your type. This should only be written once and can be called from anywhere in your app.
Code:
If Question = Incomplete Then
AnswerNextOne
Else
ReplyIfKnown
End If
cu Swatty
-
Sep 4th, 2002, 06:21 AM
#3
Thread Starter
New Member
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
|
Click Here to Expand Forum to Full Width
|