home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!mimsy!alex
- From: alex@cs.umd.edu (Alex Blakemore)
- Newsgroups: comp.lang.ada
- Subject: Re: Ada 9x Dispatching Question
- Keywords: Ada Dispatching Polymorphism
- Message-ID: <59661@mimsy.umd.edu>
- Date: 13 Aug 92 19:24:35 GMT
- References: <334@sps.com>
- Sender: news@mimsy.umd.edu
- Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
- Lines: 17
-
- In article <334@sps.com> jot@sps.com (Joe Tallet) writes:
- > I have a question concerning the code within Alex's article.
- > >procedure client (x : shapes.shape) is
- > > shapes.draw (x); -- dispatches
-
- I posted a followup previously - there was an error in my example
- the procedure should read
- procedure client (x : shapes.shape'class) is
- ^^^^^^^
- > My understanding of the dispatching is that the USE clause is necessary.
- I dont think so - the draw operation dispatches
- primarily because shapes.shape is tagged.
-
-
- --
- ---------------------------------------------------
- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
-