A type character may optionally follow a non-escaped identifier. The type character is not considered part of the identifier itself, and serves only to denote the type of the identifier. If a type character is used in a declaration, then the type character must agree with the type of the identifier. If the type is omitted from the declaration, the type of the type character is implicitly substituted.
No whitespace may come between an identifier and its type character. If a type character is appended to an identifier that conceptually does not have a type (for example, a namespace name), or the type of the type character disagrees with the declared type of the of the identifier, an error results. There are no type characters for Byte
or Short
, due to the lack of suitable characters.
%
&
@
!
#
$