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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a84a01d2859560a0 X-Google-Attributes: gid103376,public From: Jerry Petrey Subject: Re: bit operations on integers Date: 1999/05/03 Message-ID: <372DD4B2.3117C224@hercii.mar.lmco.com>#1/1 X-Deja-AN: 473564121 Content-Transfer-Encoding: 7bit References: <7gkhr7$5kr$1@nnrp1.dejanews.com> Organization: Lockheed Martin Corporation Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-05-03T00:00:00+00:00 List-Id: phadreus@iname.com wrote: > > How do I test, set, and clear individual bits in an integer > in Ada 83? > > Thank you. > > -----------== Posted via Deja News, The Discussion Network ==---------- > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Many Ada 83 compilers (like VADS from Rational) have a bit operations package for doing these operations. In VADS it was called Bit_Ops . Jerry -- ===================================================================== = Jerry Petrey - Consultant Software Engineer - Member Team Ada = = Lockheed Martin Member Team Forth = =====================================================================