comp.lang.ada
 help / color / mirror / Atom feed
* generic procedure with a generic package as generic parameter
@ 2004-01-20 21:43 Mr. J.
  2004-01-23 15:59 ` Mr. J.
  0 siblings, 1 reply; 3+ messages in thread
From: Mr. J. @ 2004-01-20 21:43 UTC (permalink / raw)


Hi,
I have a generic package (A.K.A Automate);
I wanna write a generic procedure that its parameter is an Automate,
hence something like:
generic
  with package My_Automate is new Automate (<>);
procedure Check_Automate(A:My_Automate);

But I dont know how to write it.
Please help me.
I need to know how to write both the ads and the adb.
A sample will be more than great.
10x,
J.



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

* Re: generic procedure with a generic package as generic parameter
  2004-01-20 21:43 generic procedure with a generic package as generic parameter Mr. J.
@ 2004-01-23 15:59 ` Mr. J.
  2004-01-24 11:00   ` Preben Randhol
  0 siblings, 1 reply; 3+ messages in thread
From: Mr. J. @ 2004-01-23 15:59 UTC (permalink / raw)


please help me.

ratsonjaniv@hotmail.com (Mr. J.) wrote in message news:<fc116fae.0401201343.436b56a0@posting.google.com>...
> Hi,
> I have a generic package (A.K.A Automate);
> I wanna write a generic procedure that its parameter is an Automate,
> hence something like:
> generic
>   with package My_Automate is new Automate (<>);
> procedure Check_Automate(A:My_Automate);
> 
> But I dont know how to write it.
> Please help me.
> I need to know how to write both the ads and the adb.
> A sample will be more than great.
> 10x,
> J.



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

* Re: generic procedure with a generic package as generic parameter
  2004-01-23 15:59 ` Mr. J.
@ 2004-01-24 11:00   ` Preben Randhol
  0 siblings, 0 replies; 3+ messages in thread
From: Preben Randhol @ 2004-01-24 11:00 UTC (permalink / raw)


On 2004-01-23, Mr. J. <ratsonjaniv@hotmail.com> wrote:
> please help me.

Read: http://www.it.bton.ac.uk/staff/je/adacraft/ch12.htm


-- 
"Saving keystrokes is the job of the text editor, not the programming
 language."



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

end of thread, other threads:[~2004-01-24 11:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-20 21:43 generic procedure with a generic package as generic parameter Mr. J.
2004-01-23 15:59 ` Mr. J.
2004-01-24 11:00   ` Preben Randhol

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