comp.lang.ada
 help / color / mirror / Atom feed
* Generic in out object parameters
@ 1997-04-16  0:00 petera
  1997-04-17  0:00 ` Stephen Leake
  1997-04-18  0:00 ` Matthew Heaney
  0 siblings, 2 replies; 4+ messages in thread
From: petera @ 1997-04-16  0:00 UTC (permalink / raw)




A generic unit may have an generic object parameter of mode in out.  I understand that this acts as a renaming of the actual parameter supplied when the unit is instantiated.

Can someone give me a good motivating example of why this is useful?

I'm not looking for an example that illustrates the mechanism - I understand that.  I'm looking for a real-world example that illustrates how the mechanism is useful.

Thanks.

PA

--------------------------------------------------------------------
Peter J. Ashenden                         Email:   petera@ece.uc.edu
Visiting Scholar, Dept ECECS              Phone:   +1 513 556 4756
University of Cincinnati                  Fax:     +1 513 556 7326
PO Box 210030                                   
Cincinnati OH 45221-0030, USA

             http://www.cs.adelaide.edu.au/~petera/
                   (includes PGP public key)






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

end of thread, other threads:[~1997-04-19  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-16  0:00 Generic in out object parameters petera
1997-04-17  0:00 ` Stephen Leake
1997-04-19  0:00   ` Robert Dewar
1997-04-18  0:00 ` Matthew Heaney

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