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/07 Message-ID: <8u9gl2$qbk$1@nnrp1.deja.com>#1/1 X-Deja-AN: 690873180 References: <8u8v6n$b7o$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x57.deja.com:80 (Squid/1.1.22) for client 130.125.13.32 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 07 18:11:55 2000 GMT X-MyDeja-Info: XMYDJUIDgdemont Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.75 (Macintosh; U; PPC) Date: 2000-11-07T00:00:00+00:00 List-Id: > is there anyone who can help me with bit manipulation on objects like > integers or character? > > Which way may I shift bits, or maskerade them? Look for modular types (e.g. type byte is mod 2**8 and the types in Interfaces package (unsigned_8 etc.)). With them you can "and", "or", "not", "xor" and shift. Look at... http://www.adapower.com/rm95/index.html HTH _____________________________________________ Gautier -- http://members.nbci.com/gdemont/ Sent via Deja.com http://www.deja.com/ Before you buy.