From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: two Ada95 syntax questions
Date: 9 Mar 2005 13:12:04 -0600
Date: 2005-03-09T13:12:04-06:00 [thread overview]
Message-ID: <zvz8ayP3bLaa@eisner.encompasserve.org> (raw)
In-Reply-To: 455a31fd.0503091021.7650206e@posting.google.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 654 bytes --]
In article <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, it was explicitly _not_ included in the language because of the
hazard of a missing comment terminator.
> Does it support multi-line extensions? (i.e.:
>
> Blah blah\
> Blah -- blahs all on same line
If I understand the question, yes. Statements can span lines,
although literal strings cannot. For that, one would say:
Warning : constant STRING := "Danger, "
& "Will Robinson";
next prev parent reply other threads:[~2005-03-09 19:12 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
2005-03-09 18:28 ` Dmitry A. Kazakov
2005-03-09 19:12 ` Larry Kilgallen [this message]
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