Author: Daniel KraftDaniel Kraft Date: Aug 31, 2008 01:23
Richard Maine wrote:
> Daniel Kraft wrote:
>
>> Is the GENERIC binding invalid as it targets a PRIVATE specific binding?
>
> No, that would not be a reason for it to be invalid.
>
>> If the code was valid, this would mean that any PRIVATE type-bound
>> procedure can be made accessible by extending the type and defining
>> there a PUBLIC GENERIC binding targetting it, wouldn't it?
>
> Private things can be made accessible in many ways. It is a fundamental
> error to think that the private atribute on something means that the
> entity cannot be accessed outside of the module.
Thanks Richard, your explanation was exactly what I was looking for! I
already supposed that the code was valid but wanted to get some opinions
on it (as I wouldn't really claim I know F2003 well).
Yours,
Daniel
|