From: Pascal Obry <pascal@obry.org>
Subject: Re: two Ada95 syntax questions
Date: 09 Mar 2005 19:26:50 +0100
Date: 2005-03-09T19:26:51+01:00 [thread overview]
Message-ID: <ufyz4ekut.fsf@obry.org> (raw)
In-Reply-To: 455a31fd.0503091021.7650206e@posting.google.com
robertfm@eforell.com (bob) writes:
> Does Ada95 support multi-line comments? (i.e. /*О©╫.*/) Seems like I
> remember some compilers do though I don't see this in the LRM.
No.
> Does it support multi-line extensions? (i.e.:
>
> Blah blah\
> Blah -- blahs all on same line
No. This is not needed. For string it is posssible to use '&' operator which
is handled at compile time.
Var : constant String := "This is a multi-line string value"
& " which is analyzed at compile time, so operator '&'"
& " has no runtime penalty";
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
next prev parent reply other threads:[~2005-03-09 18:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-09 18:21 two Ada95 syntax questions bob
2005-03-09 18:26 ` Pascal Obry [this message]
2005-03-09 18:28 ` Dmitry A. Kazakov
2005-03-09 19:12 ` Larry Kilgallen
2005-03-11 21:42 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox