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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no 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-23 06:50:03 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!swen.emba.uvm.edu!att541!att542!ip.att.net!newsfeed3.global.lmco.com!svlnews.lmms.lmco.com!not-for-mail From: "Xenos" Newsgroups: comp.lang.ada Subject: Re: Hex ouput Date: Thu, 23 Oct 2003 09:34:24 -0400 Organization: Lockheed Martin Corporation Message-ID: References: NNTP-Posting-Host: 158.187.68.119 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Xref: archiver1.google.com comp.lang.ada:1508 Date: 2003-10-23T09:34:24-04:00 List-Id: "Ed Falis" wrote in message news:oprxgfo1ni8wdn3j@news.verizon.net... > 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 Thanks, Ed. I didn't think to just the RM as I have yet to get a hardcopy one for '95. Do you know where I can purchase one? I hate trying to read PDF (et. al.) files on my computer. I much prefer books. DrX.