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,330113ca111da154 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-22 10:19:01 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny03.gnilink.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Hex ouput References: Message-ID: From: Ed Falis Content-Type: text/plain; format=flowed; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit User-Agent: Opera7.20/Linux M2 build 449 Date: Wed, 22 Oct 2003 17:19:01 GMT NNTP-Posting-Host: 141.154.115.193 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny03.gnilink.net 1066843141 141.154.115.193 (Wed, 22 Oct 2003 13:19:01 EDT) NNTP-Posting-Date: Wed, 22 Oct 2003 13:19:01 EDT Xref: archiver1.google.com comp.lang.ada:1444 Date: 2003-10-22T17:19:01+00:00 List-Id: On Wed, 22 Oct 2003 12:56:18 -0400, Xenos wrote: > This is probably a dumb question, but I've never had to do it before. Is > there an easy way to have integers outputted in hex instead of decimal in > Ada 95? And I can find any info on the subject in any of the reference > material I have. See RM A.10.8, where the following are described: procedure Put (File : in File_Type; Item : in Num; Width : in Field := Default_Width; Base : in Number_Base := Default_Base); procedure Put (Item : in Num; Width : in Field := Default_Width; Base : in Number_Base := Default_Base); - Ed