comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: procedure and generic package
Date: Thu, 20 Nov 2003 20:46:49 +0000 (UTC)
Date: 2003-11-20T20:46:49+00:00	[thread overview]
Message-ID: <bpj97p$4mp$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: 92bfc3dd.0311201234.6d706aa6@posting.google.com

lolo27 <limor_ru@walla.co.il> wrote:
: 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(<>);
 
 procedure something(str: String);


and then instantiate something where you need it.


-- Georg    



  reply	other threads:[~2003-11-20 20:46 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 [this message]
2003-11-20 20:55 ` David C. Hoos
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