[Lazarus] Nested Classes used as Namespace Issue

Paul Ishenin webpirat at mail.ru
Tue Jan 11 15:18:50 CET 2011


11.01.2011 20:49, Razvan Adrian Bogdan wrote:
>  type
>    TMyStruct = record
>      NestedStruct = record
>        SimpleMember: string;
>      end;
>    end;
What compiler can compile this type?

Type keyword is requires to disctinct different sections inside 
structures. In classes, records and object you can have inner type, 
const, var, class var and method sections.

Best regards,
Paul Ishenin




More information about the Lazarus mailing list