comp.lang.ada
 help / color / mirror / Atom feed
From: petera@ece.uc.edu
Subject: Generic in out object parameters
Date: 1997/04/16
Date: 1997-04-16T00:00:00+00:00	[thread overview]
Message-ID: <Forum.861207636.14373.petera@woodlands> (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)






             reply	other threads:[~1997-04-16  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-16  0:00 petera [this message]
1997-04-17  0:00 ` Generic in out object parameters Stephen Leake
1997-04-19  0:00   ` Robert Dewar
1997-04-18  0:00 ` Matthew Heaney
replies disabled

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