From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9dec3ff1604723d9 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!dedekind.zen.co.uk!zen.net.uk!demorgan.zen.co.uk!194.72.9.35.MISMATCH!news-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Bitmanipulation in Ada Date: Wed, 18 Aug 2004 21:56:07 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host81-154-190-170.range81-154.btcentralplus.com X-Trace: sparta.btinternet.com 1092866167 11930 81.154.190.170 (18 Aug 2004 21:56:07 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Wed, 18 Aug 2004 21:56:07 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Xref: g2news1.google.com comp.lang.ada:2820 Date: 2004-08-18T21:56:07+00:00 List-Id: (see below) wrote: > On 18/8/04 9:37 pm, in article > Xns9549E5E9CFFB1BerndSpechgmxcom@151.189.20.10, "Bernd Specht" > wrote: > >> 3. When I want treat a value both as an integer and as a boolean >> array, how can i do this? In pascal I would use a tagless record like >> >> TYPE ov is record >> case boolean of >> true : i : integer; >> false : byte_array; >> end; >> end; >> >> Such overlay structures are not valid with Ada, so what do instead? > > Such usages are not valid in (ISO Standard) Pascal either, > but you don't let that stop you. 8-) Where does the standard deem this "not valid" in Ada?