The symbols are "shortcuts" for several of the Visual Basic data types. # is the shortcut for Double, so
is the same asVB Code:
Dim MyVar#
VB Code:
Dim MyVar As Double
Similarly:
! = Single
& = Long
@ =Currency
% = Integer
$ = String
Note: Using the shortcuts is not recommended since they take away from the readability and self-documenting features of Visual Basic.


Reply With Quote