I feel like I may have asked this before but I can’t find anything on Google. Why doesn’t this work?
program test;
type
TRec = record
x: integer;
end;
type
THelper = record helper for TRec
property F: integer read x; // <<<—— ERROR: Unknown class field
or method identifier "x"
end;
begin
end.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
