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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8309f2bc055237c4 X-Google-Attributes: gid103376,public From: gdemont@my-deja.com Subject: Re: Bit manipulation Date: 2000/11/08 Message-ID: <8ub6kt$6nd$1@nnrp1.deja.com>#1/1 X-Deja-AN: 691129900 References: <8u8v6n$b7o$1@nnrp1.deja.com> <2WTH$pdrCfOd@eisner.decus.org> X-Http-Proxy: 1.0 x68.deja.com:80 (Squid/1.1.22) for client 130.125.13.32 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Nov 08 09:33:17 2000 GMT X-MyDeja-Info: XMYDJUIDgdemont Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.75 (Macintosh; U; PPC) Date: 2000-11-08T00:00:00+00:00 List-Id: Larry: > Quite often when someone wants to do something like that, they had > formerly programmed in some other language whose ability to define > data types is not so robust as Ada. May I remark that the main question is not: "I'm stupid and hopeless since I didn't discover until now the benefits of this absolutely superior language called Ada, but I still want to do these ugly manipulations I'm accustomed to, so how do I do them ?". But: "Which way may I shift bits, or maskerade them?" And your hint about using records, arrays and representation clauses is completely overkill just for blipping bits! Please give constructive answers! ______________________________________________________ Gautier -- http://members.nbci.com/gdemont/gsoft.htm Sent via Deja.com http://www.deja.com/ Before you buy.