Variable of the <type> Type is Expected

Description

The Fore language specification requires the use of a variable of the specified type in the statement.

Troubleshooting Tips

Change the type of the variable or specify another variable of the required type.

Example

Sub UserProc;
Var
    i: Double;
Begin
    For i := 0 To 100 Do
        
    End For;
End Sub UserProc;

When the specified code is compiled, the following error is displayed: Variable of the Integer type is expected. To resolve the error, replace the "i' variable type with Integer or define a new variable.

See also:

Compiler Messages