On Thu, Sep 15, 2011 at 4:54 PM, Marcos Douglas <m...@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:

http://wiki.lazarus.freepascal.org/How_To_Use_Interfaces_to_write_less_code

> 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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to