From: Mehdi Saada <00120260a@gmail.com>
Subject: Re: unicode and wide_text_io
Date: Wed, 27 Dec 2017 15:32:54 -0800 (PST)
Date: 2017-12-27T15:32:54-08:00 [thread overview]
Message-ID: <37dd31d2-5744-4b04-980a-ed1ebd18329d@googlegroups.com> (raw)
In-Reply-To: <7115d5ae-a1c4-4457-bc14-2253fa4e559f@googlegroups.com>
I finally used ADA.WIDE_TEXT_IO for just the PUT procedure:
procedure Put (
Fichier : in WIDE_TEXT_IO.FILE_TYPE;
Item : in T_Rationnel ) is
begin -- Put
P_Entier_wide.Put(
File => Fichier,
Item => Numer (Item),
Width => 1);
if Denom (Item) /= 1 then
WIDE_TEXT_IO.Put(
File => Fichier,
Item => WIDE_CHARACTER'Val(2044));
P_Entier_wide.Put(
File => Fichier,
Item => Denom (Item),
Width => 1);
end if;
end Put;
procedure Put (
Item : in T_Rationnel ) is
begin -- Put
Put(Fichier => WIDE_TEXT_IO.Standard_Output,
Item => Item);
end Put;
Why would that be wrong, Dmitry ?
next prev parent reply other threads:[~2017-12-27 23:32 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-27 18:08 unicode and wide_text_io Mehdi Saada
2017-12-27 20:04 ` Dmitry A. Kazakov
2017-12-27 21:47 ` Dennis Lee Bieber
2017-12-27 22:32 ` Mehdi Saada
2017-12-27 22:33 ` Mehdi Saada
2017-12-27 22:48 ` Mehdi Saada
2017-12-27 23:32 ` Mehdi Saada [this message]
2017-12-27 23:57 ` Randy Brukardt
2017-12-28 5:20 ` Robert Eachus
2017-12-31 21:41 ` Keith Thompson
2017-12-28 9:04 ` Dmitry A. Kazakov
2017-12-28 11:06 ` Niklas Holsti
2017-12-28 11:50 ` Dmitry A. Kazakov
2017-12-28 13:15 ` Mehdi Saada
2017-12-28 14:25 ` Dmitry A. Kazakov
2017-12-28 14:32 ` Simon Wright
2017-12-28 15:28 ` Niklas Holsti
2017-12-28 15:47 ` 00120260b
2017-12-28 22:35 ` G.B.
2017-12-28 18:15 ` Simon Wright
2017-12-28 22:36 ` Mehdi Saada
2017-12-29 0:51 ` Randy Brukardt
2017-12-30 12:50 ` Björn Lundin
2017-12-30 15:33 ` Dennis Lee Bieber
2017-12-30 15:56 ` Dmitry A. Kazakov
2017-12-30 23:20 ` Björn Lundin
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox