Howard Page-Clark wrote:
> On Sun, 25 Jan 2009 00:22:09 +0200
> Dave Coventry <[email protected]> wrote:
>
>   
>> type
>>   TNameValueRecord = record
>>   private
>>     FNames: array of string;
>>     FTypes: array of string;
>>     function  GetCount: integer; inline;
>>     
> ... end;
>
> Delphi 2006 introduced new Pascal syntax - the possibility that records
> can contain methods and properties in addition to the data fields
> records have always had. This makes such 'advanced records' a sort of
> pseudo-class construct.
> FreePascal/Lazarus does not support this language extension.
>
>   

try

type
  foo = Object
     a : integer;
     Procedure b;
  end;



_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to