comp.lang.ada
 help / color / mirror / Atom feed
* procedure and generic package
@ 2003-11-20 20:34 lolo27
  2003-11-20 20:46 ` Georg Bauhaus
  2003-11-20 20:55 ` David C. Hoos
  0 siblings, 2 replies; 8+ messages in thread
From: lolo27 @ 2003-11-20 20:34 UTC (permalink / raw)


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 :)



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

end of thread, other threads:[~2003-11-21 19:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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