Article View: borland.public.delphi.language.objectpascal
Article #32432Re: OOP in Delphi
From: Mark Shiffer (Team M)
Date: Fri, 22 Nov 2002 20:20
Date: Fri, 22 Nov 2002 20:20
35 lines
2508 bytes
2508 bytes
If that is the case then I would look at the source for TList in Delphi. Its not a very complicated class, but from a students perspective that may be different. Come to think of it, you probably don't have the source either to look at. I'd post it, but that's probably against Borland's rules. So my suggestion would be to clammer through the help for TList reading about the methods and properties. There you have your pseudocode, and just fill in the rest with the actual code. "Diego F." <diegofr@terra.es> wrote in message news:arli3t$i486p$1@ID-147787.news.dfncis.de... > I know there are implemented lists. I didn't say but I'm a student and I > have to do mi own list :-) > > "Mark Shiffer (Team M)" <na@na.com> escribi๏ฟฝ en el mensaje > news:3dde4618@newsgroups.borland.com... > > Delphi already has a built-in generic list, TList. Check out the help > files > > for more info. There are various descendents of TList also in the base > > Delphi product that do a little more. Why reinvent the wheel, just use > > what's there and descend from it if it doesn't do everything you need it > to. > > > > "Diego F." <diegofr@terra.es> wrote in message > > news:arla5k$jqf9k$1@ID-147787.news.dfncis.de... > > > Hi, I need to implement a generic list in Delphi and I need to use > > > polymorphism. I know how to do it in C++ but not in Delphi. > > > > > > Could someone help me with some info (links,...)? > > > > > > > > > > > >
Technical Details
Message-ID:
<3dde9196$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!telocity-west!DIRECTV!c02.atl3!news.webusenet.com!ngpeer.news.aol.com!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mailReferences:
<arla5k$jqf9k$1@ID-147787.news.dfncis.de> <3dde4618@newsgroups.borland.com> <arli3t$i486p$1@ID-147787.news.dfncis.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 109d30,2466461ffe6c71a8 X-Google-Attributes: gid109d30,public X-Google-ArrivalTime: 2002-11-22 13:16:05 PST From: "Mark Shiffer \(Team M\)" <na@na.com> Newsgroups: borland.public.delphi.language.objectpascal References: <arla5k$jqf9k$1@ID-147787.news.dfncis.de> <3dde4618@newsgroups.borland.com> <arli3t$i486p$1@ID-147787.news.dfncis.de> Subject: Re: OOP in Delphi Date: Fri, 22 Nov 2002 14:20:36 -0600 Lines: 37 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 199.96.9.129 Message-ID: <3dde9196$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1037996438 199.96.9.129 (22 Nov 2002 12:20:38 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!telocity-west!DIRECTV!c02.atl3!news.webusenet.com!ngpeer.news.aol.com!newsfeed1.cidera.com!Cidera!news.uni-x.net!newsgroups.borland.com!not-for-mail