A number is inappropriate for its context.
A type declaration character is used with an incompatible number. For example, 10.2% is invalid because an Integer type (%) cannot have a fractional part.
A fixed-length string is declared to have length zero. For example,
Dim X As String 0
will produce this message.