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=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,207541bf83e7197b X-Google-Attributes: gid103376,public From: sparre@fys.ku.dk (Jacob Sparre Andersen) Subject: Re: operation on bits Date: 1998/11/18 Message-ID: <72v0um$uko$1@kirstine.fys.ku.dk>#1/1 X-Deja-AN: 413207231 References: <365273C4.68BF@usa.net> X-Complaints-To: usenet@news.net.uni-c.dk X-Trace: news.net.uni-c.dk 911410975 14440 (None) 130.225.102.150 Organization: �rsted Laboratory Newsgroups: comp.lang.ada Date: 1998-11-18T00:00:00+00:00 List-Id: alex writes: >How do I change a bit inside byte using ada Like i'd do with assembler ? Use the "and" and "or" functions. You could also map a byte to an array of booleans. -- Jacob ---------------------------------------------------------------------------- -- Jacob Sparre Andersen -- E-mail: Jacob.Sparre.Andersen@risoe.dk -- -- National Laboratory Ris� -- Phone.: (+45) 46 77 51 23 -- -- Systems Analysis -- Fax...: (+45) 46 77 51 99 -- ----------------------------------------------------------------------------