>My question is: Can SUB31 in MOD3 access the entities I11 and SUB11 in
>MOD1 through indirect USE of MOD1 via MOD2?
No. The page you quote, 103 in the first edition and 90 in the second,
refers the reader to Section 7.10 for more details. There, on page 160
(first)
or 152 (second), you can read "When a module contains use statements, the
entities accessed are treated as entities in the module. They may be
given the private or public attribute explicitly or through the default
rule in effect in the module." Since you have defined I11 and SUB11 to
be private in mode2, they are not accessible via use mod2 in mod3.
Regards,
Mike Metcalf
|