comp.lang.ada
 help / color / mirror / Atom feed
From: "mferracini" <maurizio.ferracini@gmail.com>
Subject: Generic,procedure and visibility.
Date: 25 Nov 2004 08:36:13 -0800
Date: 2004-11-25T08:36:13-08:00	[thread overview]
Message-ID: <1101400573.954385.108150@f14g2000cwb.googlegroups.com> (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




             reply	other threads:[~2004-11-25 16:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-25 16:36 mferracini [this message]
2004-11-25 16:53 ` Generic,procedure and visibility 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
replies disabled

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