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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bb308d1c28007ccb X-Google-Attributes: gid103376,public From: Gautier.DeMontmollin@maths.unine.ch (Gautier) Subject: Re: Help!! Writing binary bit by bit Date: 1997/04/16 Message-ID: <1997Apr16.122335.5880@news>#1/1 X-Deja-AN: 235169084 References: <5j0vh0$2d1$3@cathedral.cerc.wvu.edu> Organization: University of Neuchatel, Switzerland Reply-To: Gautier.deMontmollin@Maths.UniNe.CH Newsgroups: comp.lang.ada Date: 1997-04-16T00:00:00+00:00 List-Id: > Is there any sort of IO that i'm not familiar with that gives the programmer > control over how many bits are written, and exactly what bits those are > (0's or 1's)? That is the only way I see to translate without having an IO > package translate for me. For input, the format 2#0010010101110# should work (2=base; a std format in Ada) For output, type <2);>> or something like that. Since you can use <> to write into a string, you can control all that. > If I wanted to write 001101, and that's all, not the binary equvalent for > each digit. If I wanted to write one binary digit at a time, is it possible, > or is there a more appropriate place to find out? > > I appreciate any and all input!! > > - > e-mail : mcgreal@cs.wvu.edu