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