comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: Problem with visibility of generic package help please
Date: Thu, 11 Dec 2003 18:07:44 GMT
Date: 2003-12-11T18:07:44+00:00	[thread overview]
Message-ID: <Qn2Cb.7740$_r6.1587@newsread1.news.pas.earthlink.net> (raw)
In-Reply-To: <br9tct$10g5t$1@ID-209803.news.uni-berlin.de>

Ute wrote:

> generic
> 
> --generisches Element: entweder float oder integer zur Laufzeit
> 
> type Elem is private;
> 
> with function ">"(X, Y: Elem) return boolean;
> 
> with procedure put(X: Elem);
> 
> with procedure get(X: Elem);

In addition to the other fine comments you've received, note that your 
generic formal procedure Get has its parameter of mode "in", which is 
probably not going to be very useful.

-- 
Jeff Carter
"Sir Lancelot saves Sir Gallahad from almost certain temptation."
Monty Python & the Holy Grail
69




  parent reply	other threads:[~2003-12-11 18:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-11 14:03 Problem with visibility of generic package help please Ute
2003-12-11 15:15 ` Georg Bauhaus
2003-12-11 18:07 ` Jeffrey Carter [this message]
2003-12-16 21:00 ` Martin Krischik
  -- strict thread matches above, loose matches on Subject: below --
2003-12-11 14:37 amado.alves
2003-12-11 15:55 ada_wizard
replies disabled

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