[Lazarus] Where to place definition of a record?

Michael Van Canneyt michael at freepascal.org
Sat Jan 24 23:36:09 CET 2009



On Sun, 25 Jan 2009, Dave Coventry wrote:

> Hi,
> 
> 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.
> =================== snip =======================
> unit mvlists;
> 
> {$mode objfpc}{$H+}
> 
> interface
> 
> uses
>   Classes, SysUtils;
> 
> type
>   TNameValueRecord = record

This should be class, not record.

Michael.



More information about the Lazarus mailing list