|
-
February 20th, 2012, 07:38 AM
#3
Re: [Help] Visula Basic Loops
Oooppssss....
 Originally Posted by DataMiser
First of all your Dim statements are not form properly.
Code:
Dim name, highName, lowName As String
is the same as it you had typed
Code:
Dim name as Variant, highName as Variant, lowName As String
That was vb6. In Net, the declaration is correct, and name, highName, lowName are all of String type.
framework 3.5 and vs 2008: look for "Different Types. You can specify different data types for different variables by using"
http://msdn.microsoft.com/en-us/libr...(v=vs.90).aspx
framework 4.0 and vs 2010: look for "Declaring Multiple Variables"
http://msdn.microsoft.com/en-us/libr...v=vs.100).aspx
framework 2.0-3.0 and vs 2005 : look for "Multiple Variables. "
http://msdn.microsoft.com/en-us/libr...(v=vs.80).aspx
Last edited by Cimperiali; February 20th, 2012 at 07:46 AM.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
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
|