[fpc-pascal] Out of scope method?

Ryan Joseph ryan at thealchemistguild.com
Thu Apr 6 16:48:13 CEST 2017


> On Apr 6, 2017, at 9:42 PM, Marcos Douglas B. Santos <md at delfire.net> wrote:
> 
> Lose type checking?
> Of course not. You still use the same language, interfaces, classes...
> 
> Don't confuse "New, the function" with "New, a method in a class".

I should say that you need to have a matching interface for all your classes, and if not then you’ll lose type checking. IAction needs to have all the methods in TAction for type checking to work right?

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list