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:
procedurefunctionpropertyvaroperator(only in case of Delphi records)