comp.lang.ada
 help / color / mirror / Atom feed
From: Ed Falis <falis@verizon.net>
Subject: Re: Hex ouput
Date: Wed, 22 Oct 2003 17:19:01 GMT
Date: 2003-10-22T17:19:01+00:00	[thread overview]
Message-ID: <oprxgfo1ni8wdn3j@news.verizon.net> (raw)
In-Reply-To: bn6cs8$u61@cui1.lmms.lmco.com

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



  reply	other threads:[~2003-10-22 17:19 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 [this message]
2003-10-23 13:34   ` Xenos
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