On 11/1/07, Marc Weustink <[EMAIL PROTECTED]> wrote:
>
> 12 12 wrote:
> > Suppose i've got class
> > TA = class
> > public
> >  itsMember1 : longint;
> > end;
> >
> > I want class TB = class(TA); but itsMember1 should be private.
> > Is it possible?
>
> No. Doesn't make much sense, since casting TA(B) would give access anyway
>
> Marc
>

Or simply assigning to a variable/parameter of the base type... I wouldn't
mind having this feature just for the sake of cleaning the "namespace",
though ;-)

-Flávio

Reply via email to