[fpc-pascal] Out of scope method?

Tony Whyman tony.whyman at mccallumwhyman.com
Thu Apr 6 20:16:29 CEST 2017


If you want an example of a complete API implemented using reference 
counted interfaces than you could do worse than look at my Firebird 
Pascal API (See https://www.mwasoftware.co.uk/fb-pascal-api).

It's fully documented and works with both FPC and Delphi.

Tony Whyman

On 06/04/17 15:48, Ryan Joseph wrote:
>> 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
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

More information about the fpc-pascal mailing list