Strange variable declarations

  • Thread starter Thread starter Steven Revell
  • Start date Start date
S

Steven Revell

Hi All,

I have come across the following variable declarations in
a program i have inherited. I was wondering what the $
sign is there for.

Dim Row$
Dim EVT$
Dim Paste$
Dim Results$

Values can be assigned as normal and my first though is
that it changes the values to text strings automatically.
I just though i'd ask and see if this was the case.

Cheers,
Steven
 
It is known as "type-declaration character" and is same as
declaring the variable with the following types:
$ String
@ Currency
# Double
% Integer
& Long
! Single


Francisco Mariscal
 
Back
Top