I second that. Jeremy
-----Original Message----- From: "Kyley Harris" <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Date: Mon, 31 Mar 2003 11:39:48 +1200 Subject: RE: [DUG]: Array of components > Also. > > Uses Contnrs (TComponentList, or TObjectList) might be a little easier > = > than managing an array, then you won't have > any dimension issues to worry about > > -----Original Message----- > From: Alistair George [mailto:[EMAIL PROTECTED] > Sent: Monday, 31 March 2003 10:50 a.m. > To: Multiple recipients of list delphi > Subject: [DUG]: Array of components > > > Hi All having probs creating an array (in Create line): > > DirMonArray: array of TDirMonitor; //can this be an open array - or > = > must it > have [0..100] for example assigned? > > procedure TMainform.DirMonArrayAdd(WatchDir: string); > var Tval: Integer; > CurrDir: string; > begin > //Irrelevant lines removed > inc(DmonCount, 1); > DirMonArray[DmonCount - 1].Create(self); //<<=3D creation error here > end; > > > > > Help?? > > ----------------------------------------------------------------------- > --= > -- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > ----------------------------------------------------------------------- > ---- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
