comp.lang.ada
 help / color / mirror / Atom feed
From: jsanchor@cs5.dasd.honeywell.com
Subject: Re: Tagged Rep Spec
Date: 1999/06/16
Date: 1999-06-16T00:00:00+00:00	[thread overview]
Message-ID: <7k8dqd$m8k$1@nnrp1.deja.com> (raw)
In-Reply-To: 3766970e.273390@news.pacbell.net



> Could you use
>   type Inner_Record is ... -- not tagged
>   for Inner_Record use ...
>  type Interrupt_Record_Type is new ... with record
>    Contents : Inner_Record;
> end record;

I could use a non tagged type, but I thought a nontagged type were
nonextending. I was thinking that maybe my initial record could be
represented as a rep speced records.  The ones that are constant I
represent and then other projects could add their project specific
contents above the ones that are given.



>   Usually you need to give rep specs because you are dealing with
> external hardward or software that has its own ideas.  Usually such
> hardware or software has no idea what a tag might mean, so you really
> would rather communicate with it via Inner_Record than via a tagged
> record.  If you really need the tag, perhaps you should use Streams
> instead.
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




  reply	other threads:[~1999-06-16  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-15  0:00 Tagged Rep Spec jsanchor
1999-06-15  0:00 ` Tom Moran
1999-06-16  0:00   ` jsanchor [this message]
1999-06-15  0:00 ` Marin David Condic
1999-06-16  0:00 ` Matthew Heaney
1999-06-25  0:00   ` Robert Dewar
1999-06-28  0:00     ` Marin David Condic
replies disabled

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