Delphi Compiler Error
E2123 PROCEDURE, FUNCTION, PROPERTY, or VAR expected
Reason for the Error & Solution
The tokens that follow class
in a member declaration inside a class type are limited to:
procedure
function
property
var
operator
(only in case of Delphi records)