type TClass = class const hello = 'hi'; end;
type TClass = class FField:string; public property MyString:string read FField; // a readonly property end; (...)constructor tclass.create;begin // inherited Create here; FField := 'hi';end; (...)