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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1dfb504f4080bb06 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!news-west.rr.com!news.rr.com!cyclone.kc.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: two Ada95 syntax questions References: <455a31fd.0503091021.7650206e@posting.google.com> From: Keith Thompson Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:Zc14ne6B47wW3Et5gzKZI6tIJD8= MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Date: Fri, 11 Mar 2005 21:42:33 GMT NNTP-Posting-Host: 66.91.240.168 X-Complaints-To: abuse@rr.com X-Trace: twister.socal.rr.com 1110577353 66.91.240.168 (Fri, 11 Mar 2005 13:42:33 PST) NNTP-Posting-Date: Fri, 11 Mar 2005 13:42:33 PST Organization: RoadRunner - West Xref: g2news1.google.com comp.lang.ada:9178 Date: 2005-03-11T21:42:33+00:00 List-Id: 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 San Diego Supercomputer Center <*> We must do something. This is something. Therefore, we must do this.