Thanks got it now. Not ideal but it works and is a small improvement over a 
function.

> On Feb 6, 2017, at 2:06 PM, Sven Barth <pascaldra...@googlemail.com> wrote:
> 
> You need to add the "static" modifier to the method. Class functions in 
> records can't have a self parameter and the "static" disables that. That's 
> why.
> 
> 

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