From: "David C. Hoos" <david.c.hoos.sr@ada95.com>
To: "lolo27" <limor_ru@walla.co.il>,
"comp.lang.ada@ada.eu.org" <comp.lang.ada@ada-france.org>
Subject: Re: procedure and generic package
Date: Thu, 20 Nov 2003 14:55:37 -0600
Date: 2003-11-20T14:55:37-06:00 [thread overview]
Message-ID: <mailman.35.1069361762.3110.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: 92bfc3dd.0311201234.6d706aa6@posting.google.com
It's pretty obvious what's wrong. What did your compiler tell you?
"lolo27" <limor_ru@walla.co.il> wrote in message
news:92bfc3dd.0311201234.6d706aa6@posting.google.com...
> hi
> i need to pass a generic package to a procedure
> what is wrong in the following code?
>
>
> with p;
> generic
> with new_package is new p(<>);
>
> package final_p is
>
> procedure something(str:String;instant:new_package);
>
> end final_automat;
>
>
> thanks :)
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada-france.org
> http://www.ada-france.org/mailman/listinfo/comp.lang.ada
>
next prev parent reply other threads:[~2003-11-20 20:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-20 20:34 procedure and generic package lolo27
2003-11-20 20:46 ` Georg Bauhaus
2003-11-20 20:55 ` David C. Hoos [this message]
2003-11-21 17:55 ` lolo27
2003-11-21 18:39 ` Marius Amado Alves
2003-11-21 18:48 ` Preben Randhol
2003-11-21 19:34 ` Marius Amado Alves
2003-11-21 19:56 ` Preben Randhol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox