From: Warren <ve3wwg@gmail.com>
Subject: Re: Hexadecimal and stream element arrays
Date: Mon, 19 Apr 2010 18:05:01 +0000 (UTC)
Date: 2010-04-19T18:05:01+00:00 [thread overview]
Message-ID: <Xns9D5F8F43D2564WarrensBlatherings@81.169.183.62> (raw)
In-Reply-To: 2f4313a5-bb3d-4f7f-8a86-7c8f7d549c53@k41g2000yqf.googlegroups.com
Ludovic Brenta expounded in
news:2f4313a5-bb3d-4f7f-8a86-7c8f7d549c53@k41g2000yqf.googlegroups.com:
..
> You could use the predefined library to get a result using the Ada
> "syntax for based literal" (ARM A.10.8(14)), e.g. 16#CE#.
>
> package Stream_Element_IO is
> new Ada.Text_IO.Modular_IO (Num => Ada.Streams.Stream_Element);
>
> E : Ada.Streams.Stream_Element := ...
> begin
> Stream_Element_IO.Put (Item => E, Base => 16);
>
> (There are variants of Put that send the output to a File_Type or to a
> string)..
> Ludovic Brenta.
I've been interested in finding these ways to "Put" (Hex) to
a string, instead of a File_Type.
But what I've seen is that "Put" always involves a
File_Type (or implies one).
So what have I missed?
Warren
next prev parent reply other threads:[~2010-04-19 18:05 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-19 15:44 Hexadecimal and stream element arrays tonyg
2010-04-19 15:58 ` tonyg
2010-04-19 16:24 ` Ludovic Brenta
2010-04-19 16:27 ` tonyg
2010-04-19 17:02 ` tonyg
2010-04-19 17:26 ` tonyg
2010-04-19 20:50 ` Ludovic Brenta
2010-04-20 9:00 ` tonyg
2010-04-20 9:25 ` Peter Hermann
2010-04-19 18:05 ` Warren [this message]
2010-04-19 19:21 ` Jeffrey R. Carter
2010-04-19 19:28 ` Warren
2010-04-19 23:21 ` John B. Matthews
2010-04-19 23:22 ` Adam Beneschan
2010-04-20 14:04 ` Warren
2010-04-20 14:46 ` J-P. Rosen
2010-04-20 15:52 ` Warren
2010-04-19 19:17 ` Jeffrey R. Carter
2010-04-19 20:52 ` Ludovic Brenta
2010-04-19 23:34 ` Jeffrey R. Carter
2010-04-19 17:20 ` John B. Matthews
2010-04-19 17:27 ` Dmitry A. Kazakov
2010-04-19 17:55 ` tonyg
2010-04-20 7:25 ` Stephen Leake
2010-04-20 22:21 ` Jeffrey R. Carter
2010-04-21 12:38 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox