Re: [fpc-pascal] Polymorphism question

2006-03-03 Thread dhkblaszyk
I made a typo which I didn't notice, thanks for the replies. > On Fri, 03 Mar 2006 04:52:36 -0300, <[EMAIL PROTECTED]> wrote: > >> (I sent this mail yesterday but somehow it didn't get trough, therefore >> a >> new try) >> >> I would like to declare a polymorph class. The class has several >> prop

Re: [fpc-pascal] Polymorphism question

2006-03-03 Thread Rodrigo Palhano
On Fri, 03 Mar 2006 04:52:36 -0300, <[EMAIL PROTECTED]> wrote: (I sent this mail yesterday but somehow it didn't get trough, therefore a new try) I would like to declare a polymorph class. The class has several properties and it's the read and write specifiers that I want to be virtual abstract

[fpc-pascal] polymorphism question

2006-03-03 Thread Darius Blaszijk
I would like to declare a polymorph class. The class has several properties and it's the read and write specifiers that I want to be virtual abstract. So derived classes override the read and write specifiers. The problem however is that I get an EAbstractError. The property is still conside

Re: [fpc-pascal] Polymorphism question

2006-03-03 Thread Tony Pelton
i'm new so grain of salt ... On 3/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > function GetMyProperty: string; overload; > procedure SetMyProperty(Value: string); overload; should these be 'override' rather than 'overload' ? -- X-SA user ? 0.4 is out ! http://x-plane.dsrts.com

[fpc-pascal] Polymorphism question

2006-03-03 Thread dhkblaszyk
(I sent this mail yesterday but somehow it didn't get trough, therefore a new try) I would like to declare a polymorph class. The class has several properties and it's the read and write specifiers that I want to be virtual abstract. So derived classes override the read and write specifiers. The p