What is the difference between the declaration Dim MyString$ to Dim MyString? I don’t know what the character “&” does when the program runs if it is appended with a variable. please help... :confused:
Printable View
What is the difference between the declaration Dim MyString$ to Dim MyString? I don’t know what the character “&” does when the program runs if it is appended with a variable. please help... :confused:
its 'old school vb' i cant find my old book at the mo but decalring
dim string1$
is the same as
dim string1 as string
thats if i remmber correctly that $ = string
Yup
$ = String
& = Long
% = Integer
# = Double
oh, thanks so much for the information! :blush: :bigyello: :p
And it's preferable you don't use the "Old Skool" method.
Many versions 3rd party version of BASIC use it though, so it's good to know...Quote:
Originally posted by mendhak
And it's preferable you don't use the "Old Skool" method.
Yes, but they suck. :)Quote:
Originally posted by vbNeo
Many versions 3rd party version of BASIC use it though, so it's good to know...