|
-
May 3rd, 2007, 01:54 AM
#2
Re: [2.0] Initialise Variables
http://msdn2.microsoft.com/en-us/lib...ch(VS.80).aspx
If you write code that tries to access a variable that might not yet have been assigned to, the compiler will throw an error.
You should always assign a default value when declaring a variable, and only declare variables when you have a meaningful value to give 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
|