104
Language Reference
©2000-2008 Tibbo Technology Inc.
C1008
Description:
This error occurs when an expression which should be constant is not actually
constant.
Example:
dim
x
as
integer
const
a =
5
* x
' error C1008: constant expression expected
See Also
C1009
Description:
This error occurs when the requested operation cannot be performed using the
data types provided.
Example:
dim
s
as
string
s =
"abc"
+
5
' error C1009: type mismatch
See Also
C1010
Description:
This error occurs when attempting to re-use an identifier that is already used (and
thus, cannot be reused in the current scope) in a definition or a declaration (of an
enumeration type, a constant, a variable or a function).
Example:
dim
x
as
string
sub
x
' error C1010: redefinition of identifier 'x'
…
end
sub
See Also
60
43