From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5e54ec0ce937978 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.de!news.belwue.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: String literals and wide_string literals - how? From: Georg Bauhaus In-Reply-To: <1177063665.093083.241580@e65g2000hsc.googlegroups.com> References: <1177063665.093083.241580@e65g2000hsc.googlegroups.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-ID: <1177081112.5876.97.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Date: Fri, 20 Apr 2007 16:58:33 +0200 NNTP-Posting-Date: 20 Apr 2007 15:56:54 CEST NNTP-Posting-Host: 02d84178.newsspool3.arcor-online.net X-Trace: DXC=IX;QM=QHMB]@@RW1FjIB5SMcF=Q^Z^V3X4Fo<]lROoRQFl8W>\BH3YRG]f>Z2[06EXA:ho7QcPOVSn9Lne>CkJ3Qb0PZk2Ni1J^ X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:15152 Date: 2007-04-20T15:56:54+02:00 List-Id: 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