|
-
Apr 8th, 2009, 08:22 AM
#1
Thread Starter
Addicted Member
[RESOLVED] quick question
Hi, does a variable create a memory cell, or is it actually the memory cell, for example:
Dim Answer As DialogResult
This is the explanation I have written for that line of code:
"This line of code uses a Dim (Dimension) statement to declare a variable called ‘Answer’.
This variable creates an object to store the user’s answer to a dialog result."
and this is the explanation that my friend said it was:
"This line of code uses a Dim (Dimension) statement to declare a variable called ‘DialogResult’. This variable is a memory cell to store the user’s answer to the dialog result."
Can anyone tell me which is the right explanation?
Thanks
Im using visual basic 2008 express edition so any posts that include coding or stuff PLEASE refer to vb 2008.
"A clever person solves problems, a wise person avoids them" 
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
|