25 Oct
2004
25 Oct
'04
7:23 p.m.
Neil Santos wrote:
private hiddens from outside world, not from descendants of an object.
Isn't that what `protected' is for?
Yes, indeed. However, `private' means unit/modules wide visibility. -- One could discuss how useful it is, but since we follow (mostly) BP's object model, that's just the way it is. (Perhaps it was meant for purposes similar to C++'s `friend'.) Therefore, there can be conflicts even with private fields. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html NEW! GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8