comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: newbie question: the " character inside a string
Date: 2000/05/24
Date: 2000-05-24T00:00:00+00:00	[thread overview]
Message-ID: <8ggnp4$bdm$1@nnrp1.deja.com> (raw)
In-Reply-To: 8ggcnp$83r$1@inf2.informatik.uni-stuttgart.de

In article <8ggcnp$83r$1@inf2.informatik.uni-stuttgart.de>,
  "Martin Tobisch" <tobiscmn@rupert.informatik.uni-stuttgart.de>
wrote:
> hello everbody,
>
> i have a simple question :
>
> what do i have to do if i want to include a " inside of a
string?
> for instance make the string: name="something"?
> can i write is as normal "name="something"" an ADA will ignore
> the inner "'s es as string delimiter and only look for the
outest "'s es?
> or do i have to quote the " inside of a string with a special
character?
>
> thanks for any help


You *definitely* need to have access to an Ada text book. This
is a question that will be answered in any text book.
Alternatively you could look this one up in the RM, you will
find the answer in RM 2.6, entitled string literals, and the
answer is very easy to find there.


Sent via Deja.com http://www.deja.com/
Before you buy.




  parent reply	other threads:[~2000-05-24  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-24  0:00 newbie question: the " character inside a string Martin Tobisch
2000-05-24  0:00 ` Ted Dennison
2000-05-24  0:00   ` Robert Dewar
2000-05-24  0:00     ` Jeff Carter
2000-05-25  0:00   ` Geoff Bull
2000-05-24  0:00 ` Robert Dewar [this message]
2000-05-24  0:00 ` David C. Hoos, Sr.
2000-05-24  0:00 ` John English
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox