|
Thread: $
-
Jan 16th, 2002, 06:16 PM
#1
$
hi
what does this character do when it attatched to a string or variables whatever.
thx
-
Jan 16th, 2002, 06:21 PM
#2
it's a way to declare a String
a$
and
dim a as String
is the same
-
Jan 16th, 2002, 06:26 PM
#3
oki thx daok
is this quicker than declaring with dim?
why would i use this over dim?
is there a similar thing for int, date, long etc etc?
cheers
-
Jan 16th, 2002, 06:38 PM
#4
The $ isn't a replacement for Dim. It's used with it:
Dim MyString$
Both of these lines do the same thing and it really doesn't matter which you use:
Dim MyString As String
Dim MyString$
There are other characters for other types:
$ = String
& = Long
@ = Currency
! = Single
# = Double
% = Integer
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
|