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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5037bf0bb33408c8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-09 12:47:09 PST Newsgroups: comp.lang.ada Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!world!news From: Robert A Duff Subject: Re: "&" for array versus "&" for Strings User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: news@world.std.com (Mr Usenet Himself) Message-ID: Date: Wed, 9 Oct 2002 19:46:14 GMT Content-Type: text/plain; charset=us-ascii References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Organization: The World Public Access UNIX, Brookline, MA Xref: archiver1.google.com comp.lang.ada:29639 Date: 2002-10-09T19:46:14+00:00 List-Id: "Steven Deller" writes: > > There is no aggregate in this example. > > > > There are two string_literals, and RM-4.2(4) says "...single > > string type". So I think this one should resolve OK. > > Yep. FYI, Apex 4.2 yields the expected result: > > ---- execute of /home/ctdellsr/apex/testpp.ss/prime.wrk/array_test > > 1: Ada > 2: Babbel Cool. Compilers don't "define" the language, but the fact this one particular compiler agrees with my interpretation is some evidence indicating I wasn't totally off the wall. ;-) - Bob P.S. I haven't tried this example with our own (SofCheck's) AdaMagic compilers.