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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,70ff6d6e203062f6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-22 19:36:55 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!attbi_feed3!attbi.com!attbi_s02.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Newbie question: How does one do bit manipulation in Ada? References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 24.6.133.123 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s02 1072150613 24.6.133.123 (Tue, 23 Dec 2003 03:36:53 GMT) NNTP-Posting-Date: Tue, 23 Dec 2003 03:36:53 GMT Organization: Comcast Online Date: Tue, 23 Dec 2003 03:36:53 GMT Xref: archiver1.google.com comp.lang.ada:3734 Date: 2003-12-23T03:36:53+00:00 List-Id: >Okay, thanks. I didn't look at package Interfaces, but obviously I You can define your own modular types, or arrays of booleans, or packed bit fields in a representation clause. Interfaces does conveniently predefine the sort of thing you are used to in C, though.