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 12:10:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc04.POSTED!not-for-mail Message-ID: <3F58DF8F.6060701@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Expectation of Access Value Equality References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.34.139.183 X-Complaints-To: abuse@comcast.net X-Trace: sccrnsc04 1062789015 24.34.139.183 (Fri, 05 Sep 2003 19:10:15 GMT) NNTP-Posting-Date: Fri, 05 Sep 2003 19:10:15 GMT Organization: Comcast Online Date: Fri, 05 Sep 2003 19:10:16 GMT Xref: archiver1.google.com comp.lang.ada:42186 Date: 2003-09-05T19:10:16+00:00 List-Id: Nick Roberts wrote: > I'm asking for the help of Ada programmers of all levels of experience... > (a) Would you be surprised by: > > Print( (+"foo",+"bar",+"",+"") ); > > printing three lines? > > (b) Would you be surprised by: > > Print( (+"foo",+"bar",+"hum",+"foo") ); > > printing one line? > > (c) What would you think of an implementation that caused this behaviour? If the indicated correction to the program had been made, I would assume that the mode in which the compiler was used allowed subroutines to be treated as if pragma Pure (RM 10.2.1) had been applied to them. (And that a compiler might have such a mode would not disturb me at all.) > (What would you think of an implementation that printed four lines in both > cases?) I'd conclude that, in this area, it implemented the standard correctly. > (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. Expert. -- Robert I. Eachus "As far as I'm concerned, war always means failure." -- Jacques Chirac, President of France "As far as France is concerned, you're right." -- Rush Limbaugh