bugs, incompatibity, function attributes_(re)

Tue, 8 Jul 1997 23:38:46 -0400 (EDT)


On Wed, 2 Jul 1997, The African Chief wrote:

> 6. All classes to have the same ultimate ancestor object.

This is done manually (by having all your objects inherit from TObject
somewhere). Or maybe you mean we could do this:

var
   C: class;
begin
   C:=TView.Create;	(* I don't really remember how you do that
			   with Delphi... *)
end;

"class" being a sort of "automagical" empty ancestor object. In the
example, C could have contained ANY objects, not just TObject descendents,
but you'd have no way to destroy them (since they don't have any method,
constructors or destructors at all).

Pierre Phaneuf

"The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offense." - Edsger W. Dijkstra.



Pierre Phaneuf (pp@dilu.bogus.net)

HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada - Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es