Oh yes, maybe this is not wise (or good practice), but this requires only a few lines of code in the child unit, while "wise" solution is rather tiresome - many, many lines. But thank You; I can compile my 14-line long child package and my problem is solved! MM -- ############################################ ## Micha� Morawski ## 95-200 Pabianice, Sempo�owskiej 5 m 13 ## tel/fax ++48 42 2262228 ############################################ Do Juliusza Kossaka przyszed� znajomy i zacz�� opowiada� o swoim psie: - Je�li ka�� mu zje�� jab�ko, to on je zje, chocia� nie lubi jab�ek. A gdy po�o�� przed nim kawa�ek mi�sa i powiem: "nie rusz", to on go nie zje, nawet gdy jest bardzo g�odny. - Zawsze uwa�a�em, �e psy to m�dre zwierz�ta - powiedzia� Kossak - ale teraz widz�, �e s� tak samo g�upie jak ludzie. "Steve" wrote in message news:AeG2a.82167$iG3.10580@sccrnsc02... > I'm sure you can find the answer to your question in the GNAT documentation > (RTFM), but keep in mind: > > From the Ada 95 Reference Manual A.2: > (2) In the standard mode, it is illegal to compile a child package of Ada. > > Also note: From A > (4) The implementation may restrict children of language-defined library > units (other than Standard). > > > In my opinion it is not a good practice to create packages that are children > of Ada. > > Steve > (The Duck) > > "Micha� Morawski" wrote in message > news:b2e5ah$qpf$1@atlantis.news.tpi.pl... > > > > Does anybody know how to compile the child package of standard package > (like > > Ada.Text_IO.Random). > > Normally GNAT refuse to compile it. > > > > Michal Morawski > > > > > > > > > >