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,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,90514f9a192a4997 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-05 17:25:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!not-for-mail Sender: mheaney@MHEANEYX200 Newsgroups: comp.lang.ada Subject: Re: Expectation of Access Value Equality References: From: Matthew Heaney Message-ID: X-Newsreader: Gnus v5.7/Emacs 20.7 Date: Sat, 06 Sep 2003 00:25:07 GMT NNTP-Posting-Host: 65.110.133.134 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.atl.earthlink.net 1062807907 65.110.133.134 (Fri, 05 Sep 2003 20:25:07 EDT) NNTP-Posting-Date: Fri, 05 Sep 2003 20:25:07 EDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:42198 Date: 2003-09-06T00:25:07+00:00 List-Id: "Nick Roberts" writes: > (a) Would you be surprised by: > > Print( (+"foo",+"bar",+"",+"") ); > > printing three lines? No. That's what I expected it to print. > (b) Would you be surprised by: > > Print( (+"foo",+"bar",+"hum",+"foo") ); > > printing one line? No. That's what I expected it to print. > (c) What would you think of an implementation that caused this behaviour? > (What would you think of an implementation that printed four lines in both > cases?) I think your program is broken, not any compiler implementation. The problem is that you have items identical to your sentinel. > (d) I'd be grateful for a very brief indication of your level and broad > area(s) of programming experience, in Ada and other languages. I have been programming in Ada for over 15 years. I am fluent in Ada95 and C++.