Function Identifier is Expected after get

Description

The procedure identifier is specified after the Get specifier instead of a function procedure, as the old syntax of the properties description is used.

Troubleshooting Tips

Check the type of the object specified after the Get specifier. Specify a function, which syntax is allowed for this property.

Example

Class MyClass: Object
    Sub Proc;
    Begin
        
    End Sub Proc;
    
    Function Func: Integer;
    Begin
        Return i
    End Function Func;
    
    Property Item: Integer Get Proc;
End Class MyClass;

When the specified code is compiled, the string Property Item: Integer Get Proc; displays the following error: Function identifier is expected after get. To resolve the error, specify the identifier of the Func function after the Get specifier.

See also:

Compiler Messages