Expression is Expected

Description

The statement requires an expression as its right operand, but the expression is not available.

Troubleshooting Tips

Add an admissible expression as the right operand.

Example

Sub Main;
Var
    i: Integer;
Begin
    i :=;
End Sub Main;

When the specified code is compiled the i :=; string will display the following error message: Expression is expected. To correct the error, add an expression that returns an integer value.

See also:

Compiler Messages