From: Keith Thompson <kst-u@mib.org>
Subject: Re: two Ada95 syntax questions
Date: Fri, 11 Mar 2005 21:42:33 GMT
Date: 2005-03-11T21:42:33+00:00 [thread overview]
Message-ID: <lnll8tluwh.fsf@nuthaus.mib.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.
Sure, Ada supports multi-line comments, but not with that syntax.
The syntax is:
-- This is a
-- mult-line
-- comment.
Yes, I'm being facetious; that's really a series of single line comments.
One of the major justifications for multi-line comments is that they
make it easy to comment out a block of code. With any decent text
editor, it's easy to add or remove a "-- " from each line in a range,
and the result is much more clearly commented out than if you had to
search for the opening and closing delimiters.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
prev parent reply other threads:[~2005-03-11 21:42 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
2005-03-11 21:42 ` Keith Thompson [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