Specifications
Error! Style not defined. 695
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 695 of 11 Printed: 10/09/00 02:49 PM
CAN0020 operand types bad for this operation
An operator was applied to an expression with an invalid type for that operator.
For example, it is not valid to take the address of a register, or subscript an array with a
floating-point expression.
CAN0021 struct or union used as scalar
A structure or union was used in an expression, but no element was specified.
When manipulating a structure or union variable, the name of the variable may appear
by itself, without a field qualifier. If a structure or union is used in an expression, it must
be qualified with the specific element desired.
Specify the element whose value is to be used in the expression.
CAN0022 function call before _main
The CodeView C expression evaluator cannot evaluate a function before CodeView has
entered the function _main. The program is not properly initialized until _main has
been called.
Execute g main;p to enable function calls in expressions.
CAN0023 bad radix
The radix specified is not recognized by the CodeView C expression evaluator. Only
decimal, hexadecimal, and octal radixes are valid.
CAN0024 operation needs l-value
An expression that does not evaluate to an l-value was specified for an operation that
requires an l-value.
An l-value (so called because it appears on the left side of an assignment statement) is
an expression that refers to a memory location.
For example, buffer[count] is a valid l-value because it points to a specific memory
location. The logical comparison zed != 0 is not a valid l-
value because it evaluates to
TRUE or FALSE, not a memory address.
CAN0025 operator needs struct/union
An operator that takes an expression of struct or union type was applied to an
expression that is not a struct or union.
Components of class, structure, or union variables must have a fully qualified name.
Components cannot be entered without full specification.
CAN0026 bad format string
A format string was improperly specified.
Check the syntax of the expression.
CAN0027 tp addr not l-value
Check the syntax of the expression.