If a class has a public reader property like this:

        TLexemeList= class(TObject)
        protected
          fValue: TPrimaevalValue;
        public
          property Value: TPrimaevalValue read fValue;
        ...

is there a way of allowing a class helper to augment this with a protected writer property? My attempt as below messed up the reader:

        TLLEvaluator = class helper for TLexemeList
        private
          procedure SetValue(v: TPrimaevalValue);
        protected
          property Value: TPrimaevalValue write SetValue;
        ...

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to