hi
what does this character do when it attatched to a string or variables whatever.
thx
Printable View
hi
what does this character do when it attatched to a string or variables whatever.
thx
it's a way to declare a String
a$
and
dim a as String
is the same
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
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