[fpc-pascal] Interface, _AddRef, _Release, etc.

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Thu Sep 15 17:12:39 CEST 2011

On Thu, Sep 15, 2011 at 4:54 PM, Marcos Douglas <md at delfire.net> wrote:
>>>   f := TFoo.Create;
>> This is just wrong.
> Well, wrong just because the language is so but not because is ilogical, right?

I don't understand why it would be wrong. For me it seams correct and
similar to this example:


> I want my code compiling in Delphi 7 too, so I can have problems with this?

You can always use {$ifndef fpc} and {$ifdef fpc} to write code
specific to Delphi or FPC

Felipe Monteiro de Carvalho

More information about the fpc-pascal mailing list