Re: [fpc-pascal] object model

2010-05-29 Thread Michael Van Canneyt
On Sat, 29 May 2010, spir ☣ wrote: On Sat, 29 May 2010 01:09:50 +0300 Alberto Narduzzi wrote: Hi, Struct is declared as "class" so it inherits from TObject if not other class is especified. is that true? I don't mean not to trust you, but is the compiler assuming that, or is it a FPC ru

Re: [fpc-pascal] object model

2010-05-29 Thread spir ☣
On Sat, 29 May 2010 01:09:50 +0300 Alberto Narduzzi wrote: > Hi, > > > Struct is declared as "class" so it inherits from TObject if not other > > class is especified. > > is that true? I don't mean not to trust you, but is the compiler > assuming that, or is it a FPC rule? IMO a class is a cla