comp.lang.ada
 help / color / mirror / Atom feed
* Generic,procedure and visibility.
@ 2004-11-25 16:36 mferracini
  2004-11-25 16:53 ` mferracini
  2004-11-25 18:20 ` Georg Bauhaus
  0 siblings, 2 replies; 7+ messages in thread
From: mferracini @ 2004-11-25 16:36 UTC (permalink / raw)


sorry for the italian-naming :)

package Generico is
generic
with procedure Lavora;
package Nascosto is
procedure Inizia;
end Nascosto;
end Generico;

package body Generico is

package body Nascosto is
procedure Inizia is
begin
Lavora;
end Inizia;
end Nascosto;

begin
lavora;  --error:"lavora" in not visibile
end Generico;
why "lavora" is only visible by pakage "Nascosto" ?
thanks




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-11-29 21:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-25 16:36 Generic,procedure and visibility mferracini
2004-11-25 16:53 ` mferracini
2004-11-25 19:15   ` Stephen Leake
2004-11-25 20:27     ` Jeffrey Carter
2004-11-29 16:29     ` mferracini
2004-11-29 21:47       ` Stephen Leake
2004-11-25 18:20 ` Georg Bauhaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox