http://wiki.freepascal.org/Helper_types#Usage says class helpers can use 
properties. Why am I getting this error?

program test;

type
        TMyObject = class
                m_num: integer;
                property num1: integer read m_num;
        end;
        THelper = class helper for TMyObject
                property num2: integer read m_num;      // ERROR: Unknown class 
field or method identifier "m_num"
        end;

begin
end.


Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to