home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!agate!dog.ee.lbl.gov!news!nosc!visicom!amstel!rlk
- From: rlk@VisiCom.COM (Bob Kitzberger)
- Newsgroups: comp.lang.ada
- Subject: Re: HELP! Input/Output of private types
- Message-ID: <rlk.721940113@amstel>
- Date: 16 Nov 92 18:55:13 GMT
- References: <Bxpwty.H8E@acsu.buffalo.edu>
- Sender: news@VisiCom.COM
- Lines: 27
-
- 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
-