On Jul 3, 9:19am, Dr W.W. Schulz wrote:
> Subject: Re: operator( == ) and its negation (fwd)
> On Thu, 2 Jul 1998, Peter Shenkin wrote:
..
> > But there is a potential glitch. What if the TYPE has PRIVATE
> > elements, and == or /= is used in a context in which the PRIVATE
> > elements were not visible. Would it be legal, or would this
> > give a compile-time error?
> >
> > I think the proposal would not be very useful if it were not
> > legal, but I also think that making it legal would be the first
> > example that I know of where a PRIVATE element has to be available
> > outside the MODULE in which it is defined.
>
> I don't think so. Assignment already does have access to PRIVATE components.
...
Yes, good point.
-P.
--
*********** How can we have ethnic music without ethnic hatred? ***********
* Peter S. Shenkin; Chemistry, Columbia U.; 3000 Broadway, Mail Code 3153 *
** NY, NY 10027; [log in to unmask]; (212)854-5143; FAX: 678-9039 ***
*MacroModel WWW page: http://www.columbia.edu/cu/chemistry/mmod/mmod.html *
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|