|
-
Nov 3rd, 2013, 08:31 AM
#20
Re: Not a lot of people know this (or do they?)
 Originally Posted by SamOscarBrown
You can't 'get away with" your VB6 statement if you want all of them to be integers.
In VB6, When you use:
Dim int1, int2, int3 As Integer, only int3 is declared an integer, the other two are Variants.
What he was saying is that you can in VB.Net and that is correct, VB.Net will dim them all as Integers when written that way. VB6 will not
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
|