From: "Alex R. Mosteo" <devnull@mailinator.com>
Subject: Re: accessing record element (question to the pros)
Date: Fri, 24 Feb 2006 18:08:35 +0100
Date: 2006-02-24T18:08:35+01:00 [thread overview]
Message-ID: <43FF3D93.3080702@mailinator.com> (raw)
In-Reply-To: <dtn78j$tdn$02$1@news.t-online.com>
Norbert Caspari wrote:
> (...) In this example I try to build a Union Record, where I can
> access a single Byte either as a small positive Integer value or as
> single Bits. (...)
You don't do this in Ada with variant records. I would elaborate but I'm
just leaving the office. Take a look at Unchecked_Conversion and the
'Address attribute for a start.
next prev parent reply other threads:[~2006-02-24 17:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-24 15:03 accessing record element (question to the pros) Norbert Caspari
2006-02-24 15:27 ` Peter Hermann
2006-02-24 17:07 ` Norbert Caspari
2006-02-24 17:08 ` Alex R. Mosteo [this message]
2006-02-24 18:02 ` Jeffrey R. Carter
2006-02-24 19:04 ` Simon Wright
2006-02-24 21:46 ` Randy Brukardt
2006-02-26 11:49 ` many thanks to all the people who give me useful hints! Norbert Caspari
2006-02-28 0:33 ` Randy Brukardt
2006-02-24 18:32 ` accessing record element (question to the pros) Martin Krischik
2006-02-28 20:02 ` Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox