comp.lang.ada
 help / color / mirror / Atom feed
From: visicom!amstel!rlk@nosc.mil  (Bob Kitzberger)
Subject: Re: HELP! Input/Output of private types
Date: 16 Nov 92 18:55:13 GMT	[thread overview]
Message-ID: <rlk.721940113@amstel> (raw)

kist@acsu.buffalo.edu (james e kist) writes:

>generic
>	type Element is private;
>package abcd
>.
>end abcd;
>
>Now, how do I do I/O on an object that is of type Element? Thanks for any
>help.


   generic
       type Element is private;
       with procedure Put( Item : in     Element );
       with procedure Get( Item :    out Element );
   package abcd is
   ...
       Get (Item);
       Put (Item);
   end abcd;
   

----------------
Bob Kitzberger          VisiCom Laboratories, Inc.
rlk@visicom.com         10052 Mesa Ridge Court, San Diego CA 92121 USA
                        +1 619 457 2111    FAX +1 619 457 0888

             reply	other threads:[~1992-11-16 18:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-11-16 18:55 Bob Kitzberger [this message]
  -- strict thread matches above, loose matches on Subject: below --
1992-11-18 20:49 HELP! Input/Output of private types cis.ohio-state.edu!zaphod.mps.ohio-state.edu!wupost!uwm.edu!biosci!agate!
1992-11-16 16:11 Ron Sercely
1992-11-14 18:03 james e kist
replies disabled

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