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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Is there a way to do large block of source code comments Date: Mon, 01 Sep 2014 12:04:21 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Mon, 1 Sep 2014 19:04:22 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="56fab7e62b17ffcf38a203e8e5c6081a"; logging-data="5772"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183lwxbTJhVubOKm3vESVQO03ObD8rF31M=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 In-Reply-To: Cancel-Lock: sha1:CKi/5lttvuJPzK1gCOf3GIVd9QU= Xref: number.nntp.dca.giganews.com comp.lang.ada:188783 Date: 2014-09-01T12:04:21-07:00 List-Id: On 09/01/2014 10:24 AM, gdotone@gmail.com wrote: > > is there a way to handle several lines at a time without having to do -- on every line? > > like /* ... > ... > */ > > used in C, could be used to handle multiple line comments. No, this was explicitly omitted. See the Ada-83 Rationale 2.1: "Single comments that are larger than one line are not provided. Such comments would require a closing comment delimiter and this would again raise the dangers associated with the (unintentional) omission of the closing delimiter: entire sections of a program could be ignored by the compiler without the programmer realizing it, so that the program would not mean what he thinks. Long comments can be written as a succession of single line comments, thus combining elegance with safety." http://archive.adaic.com/standards/83rat/html/ratl-02-01.html#2.1 -- Jeff Carter "People called Romanes, they go the house?" Monty Python's Life of Brian 79