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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,908b0acacbaccca8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-11 08:34:29 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!teaser.fr!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!btnet-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Integer data type Date: Fri, 11 Oct 2002 15:33:42 +0000 (UTC) Organization: BT Openworld Message-ID: References: <7bd7d86e.0210110721.8097797@posting.google.com> NNTP-Posting-Host: host217-40-199-68.in-addr.btopenworld.com X-Trace: paris.btinternet.com 1034350422 16342 217.40.199.68 (11 Oct 2002 15:33:42 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Fri, 11 Oct 2002 15:33:42 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.lang.ada:29720 Date: 2002-10-11T15:33:42+00:00 List-Id: "Mark" wrote in message news:7bd7d86e.0210110721.8097797@posting.google.com... > Is it possible to extract the binary representation of an integer > variable and store that binary representation in another variable? Yes, you should check out: procedure Put (To : out String; Item : in Num; Base : in Number_Base := Default_Base); in package "Ada.Text_IO.Integer_IO", Annex A of the RM.