comp.lang.ada
 help / color / mirror / Atom feed
From: jsanchor@cs5.dasd.honeywell.com
Subject: Tagged Rep Spec
Date: 1999/06/15
Date: 1999-06-15T00:00:00+00:00	[thread overview]
Message-ID: <7k5mop$n0i$1@nnrp1.deja.com> (raw)

Hi all,

I was wondering. Can a person Rep Spec a tagged record?


Type  Interrupt_Record_Type is tagged
   Record
     watchdog_warning   : boolean;
     utility_clock               : boolean;
     timer1                        :boolean;
     rs232                         :boolean;
     mailbox                      :boolean;
   end record;

for Interrupt_Record_Type use
   record
     watchdog_warning   at 0 range 0..0;
     utility_clock               at 0 range 1..1;
     timer1                        at 0 range 2..2;
     rs232                         at 0 range 3..3;
     mailbox                      at 0 range 4..4;
   end record;

Has anyone done this before? I think there also has to be a tag in the
record.


Thank you in advance.

Jay Sanchorawala


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




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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-15  0:00 jsanchor [this message]
1999-06-15  0:00 ` Tagged Rep Spec Marin David Condic
1999-06-15  0:00 ` Tom Moran
1999-06-16  0:00   ` jsanchor
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