|
-
Jul 21st, 2004, 05:25 AM
#1
Thread Starter
Junior Member
variable declaration...?
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...
No matter who you are and where you are, remember we are all living under the same sky.
-
Jul 21st, 2004, 05:33 AM
#2
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
-
Jul 21st, 2004, 05:48 AM
#3
Yup
$ = String
& = Long
% = Integer
# = Double
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jul 21st, 2004, 06:09 AM
#4
Thread Starter
Junior Member
oh, thanks so much for the information!
No matter who you are and where you are, remember we are all living under the same sky.
-
Jul 21st, 2004, 06:22 AM
#5
And it's preferable you don't use the "Old Skool" method.
-
Jul 21st, 2004, 06:36 AM
#6
Frenzied Member
Originally posted by mendhak
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...
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
-
Jul 21st, 2004, 06:46 AM
#7
Originally posted by vbNeo
Many versions 3rd party version of BASIC use it though, so it's good to know...
Yes, but they suck.
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
|