Statement Expected

Description

The End keyword is missing in the specified code position on describing procedure, function, or property.

Troubleshooting Tips

Add the missing code fragment containing the End keyword.

Example

Sub UserProc;
Begin
    
Sub UserProc;

When the specified code is compiled, after the Sub end word the error is displayed: "Statement expected". To resolve the error, correct the procedure end text: End Sub UserProc;

See also:

Compiler Messages