comp.lang.ada
 help / color / mirror / Atom feed
From: "Xenos" <dont.spam.me@spamhate.com>
Subject: Re: Hex ouput
Date: Thu, 23 Oct 2003 09:34:24 -0400
Date: 2003-10-23T09:34:24-04:00	[thread overview]
Message-ID: <bn8ldm$php2@cui1.lmms.lmco.com> (raw)
In-Reply-To: oprxgfo1ni8wdn3j@news.verizon.net


"Ed Falis" <falis@verizon.net> wrote in message
news:oprxgfo1ni8wdn3j@news.verizon.net...
> On Wed, 22 Oct 2003 12:56:18 -0400, Xenos <dont.spam.me@spamhate.com>
> 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.





  reply	other threads:[~2003-10-23 13:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-22 16:56 Hex ouput Xenos
2003-10-22 17:19 ` Ed Falis
2003-10-23 13:34   ` Xenos [this message]
2003-10-23 14:14     ` Hard copy of Ada RM (was: Hex ouput) Ed Falis
2003-10-23 14:57       ` Xenos
2003-10-24  6:24       ` Dirk Craeynest
2003-10-23 15:39     ` Hex ouput Jerry Petrey
2003-10-23 19:51       ` Xenos
2003-10-23 21:18         ` Stephen Leake
2003-10-24  7:36         ` Dmitry A. Kazakov
2003-10-24  1:09       ` Jeffrey Carter
2003-10-24 15:08         ` Robert Spooner
2003-10-25  0:39           ` Jeffrey Carter
2003-10-26  1:16             ` Jeffrey Carter
2003-10-23 23:49     ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox