Hi,
the reference manual is not explicitly clear in describing class
declarations. Is it true for classes as for objects that the first block
of components after the class header are visible as if declared public?
E.g.
TAnyClass = class
fField:anytype;
end;
would make fField visible
On 10/12/07, Marc Santhoff [EMAIL PROTECTED] wrote:
Does object pascal allow a class declaration marked as an abstract
class? Like in java for making sure the class can never be instantiated
itself, only it's descendants can be?
The compiler will issue a warning if you instantiate a class with
Marc Santhoff schreef:
Hi,
the reference manual is not explicitly clear in describing class
declarations. Is it true for classes as for objects that the first block
of components after the class header are visible as if declared public?
E.g.
TAnyClass = class
fField:anytype;
end;
Felipe Monteiro de Carvalho wrote:
On 10/12/07, Marc Santhoff [EMAIL PROTECTED] wrote:
Does object pascal allow a class declaration marked as an abstract
class? Like in java for making sure the class can never be instantiated
itself, only it's descendants can be?
The compiler will issue a
Vincent Snijders wrote:
Marc Santhoff schreef:
Hi,
the reference manual is not explicitly clear in describing class
declarations. Is it true for classes as for objects that the first block
of components after the class header are visible as if declared public?
E.g.
TAnyClass = class
On Fri, 12 Oct 2007 18:41:19 -0300
Joao Morais [EMAIL PROTECTED] wrote:
Felipe Monteiro de Carvalho wrote:
On 10/12/07, Marc Santhoff [EMAIL PROTECTED] wrote:
Does object pascal allow a class declaration marked as an abstract
class? Like in java for making sure the class can never be
Am Samstag, den 13.10.2007, 00:50 +0200 schrieb Mattias Gaertner:
On Fri, 12 Oct 2007 18:41:19 -0300
Joao Morais [EMAIL PROTECTED] wrote:
Felipe Monteiro de Carvalho wrote:
On 10/12/07, Marc Santhoff [EMAIL PROTECTED] wrote:
Does object pascal allow a class declaration marked as an