From: Georg Bauhaus <bauhaus@futureapps.de>
Subject: Re: String literals and wide_string literals - how?
Date: Fri, 20 Apr 2007 16:58:33 +0200
Date: 2007-04-20T15:56:54+02:00 [thread overview]
Message-ID: <1177081112.5876.97.camel@localhost.localdomain> (raw)
In-Reply-To: <1177063665.093083.241580@e65g2000hsc.googlegroups.com>
On Fri, 2007-04-20 at 03:07 -0700, Gerd wrote:
> Hi all,
>
> if I have a string, then I can write a literal simply by writing
> "abcd". But if I want write a wide_string literal, how do it?
> Is there something like the L"xxx" in C?
x: Wide_String := Wide_String'("xxx");
y: Wide_String := "xxx";
w: Wide_String := ('x', 'x', 'x');
z: Wide_String := Wide_String'('x', 'x', 'x');
http://en.wikibooks.org/wiki/Ada_Programming/Type_System
and
http://en.wikibooks.org/wiki/Ada_Programming/Types/array
try to explain.
-- Georg
prev parent reply other threads:[~2007-04-20 14:58 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-20 10:07 String literals and wide_string literals - how? Gerd
2007-04-20 14:33 ` Adam Beneschan
2007-04-20 14:55 ` Robert A Duff
2007-04-20 19:16 ` Randy Brukardt
2007-04-20 20:01 ` Adam Beneschan
2007-04-20 20:41 ` Dmitry A. Kazakov
2007-04-20 20:02 ` Robert A Duff
2007-05-21 2:33 ` David Thompson
2007-05-22 22:32 ` Randy Brukardt
2007-05-23 18:42 ` Jeffrey R. Carter
[not found] ` <f324h5$fna$1@f04n12.cac.psu.edu>
2007-05-24 21:15 ` Jeffrey R. Carter
2007-05-23 2:27 ` Keith Thompson
2007-07-01 1:00 ` David Thompson
2007-05-23 12:28 ` brian.b.mcguinness
2007-04-20 20:48 ` Dmitry A. Kazakov
2007-04-20 22:09 ` Jeffrey R. Carter
2007-04-21 9:41 ` Simon Wright
2007-04-22 0:35 ` Jeffrey R. Carter
2007-04-22 9:45 ` Simon Wright
2007-04-22 20:15 ` Jeffrey R. Carter
2007-04-22 21:18 ` Simon Wright
2007-04-23 1:44 ` Jeffrey R. Carter
2007-04-22 1:00 ` Robert A Duff
2007-04-20 14:58 ` Georg Bauhaus [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox