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: Isomorphic variant question
- Message-ID: <63594@mimsy.umd.edu>
- Date: 22 Jan 93 01:00:47 GMT
- References: <C16FuD.E5L@dale.cts.com>
- Sender: news@mimsy.umd.edu
- Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
- Lines: 19
-
- In article <C16FuD.E5L@dale.cts.com> jhb@dale.cts.com (John Bollenbacher) writes:
- > So far so good. My recurring problem arises when I have a code fragment
- > which is responsible for building such a piece of mail which does not need
- > to distinguish between these isomorphich variants
-
- procedure POST(KIND : SHAPES) is
- begin
- case KIND is
- when CIRCLE | SQUARE =>
- SEND((KIND => KIND,
- CENTER => CENTER_OF_OBJECT,
- RADIUS => RADIUS_OF_OBJECT));
-
-
-
-
- --
- ---------------------------------------------------
- Alex Blakemore alex@cs.umd.edu NeXT mail accepted
-