The code calls an object that is not a subprogram.
Check the type of the called object. Perhaps, an expression must be specified instead of a call.
Sub UserProc;
Var
i: Integer;
Begin
i;
End Sub UserProc;
When the specified code is compiled, the "i;" string displays the following error: i is not a subprogram. To resolve the error, change this string and specify the identifier of a subprogram or add an expression to create the value of the "i" variable.
See also: