On Sun, 25 Jan 2009 00:22:09 +0200 Dave Coventry <[email protected]> wrote:
> I'm following a suggestion for producing my own records > so that I can define a custom TStringlist as detailed in this > article: > http://dn.codegear.com/article/33423 > > However, I am unsure of where to post this code and am > wondering if someone would advise me. ... > 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. ---- Howard _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
