And this feature can be implemented with operators, but this is
discussion for fpc-pascal, I guess.

-Flávio

On Tue, Sep 20, 2011 at 9:52 AM, Sven Barth <pascaldra...@googlemail.com> wrote:
> Am 19.09.2011 12:32, schrieb Skybuck Flying:
>>
>> Not sure if it compiles in free pascal, but it does compile in Delphi XE
>> at least ;)
>
> See here: http://wiki.freepascal.org/Helper_types
>
>> // solution: record helper
>> TrecordBhelper = record helper for TrecordB
>> private
>> // mData : double;
>> public
>> // property Data : double read mData write mData; // must be in TrecordB
>> apperently ?!?
>
> Helper types must not contain fields as they aren't instantiated.
>
> Regards,
> Sven
> _______________________________________________
> fpc-devel maillist  -  fpc-devel@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to