[fpc-devel] Circular references and forward declarations

Horacio Jamilis hjamilis at pymesoft.com.ar
Tue Jan 5 19:59:18 CET 2010


El 05/01/2010 15:48, Marco van de Voort escribió:
> In our previous episode, Horacio Jamilis said:
>    
>> I need this feature too, and I like this proposed syntax.
>>
>> In my case, my classes are defined in a form unit, so I can not have
>> more than 1 class per file (this is a Lazarus project)...
>>      
> It's perfectly possible to have more than 1 class per file. Also in Lazarus.
>
> You can only not have multiple design forms in one class, but the designer
> in those other languages almost sure can't handle circular classes either.
>    

In my project, each class is linked to one form, and defined in the same 
unit as the form.

Horacio



More information about the fpc-devel mailing list