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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3d6ef988ec3a5ef7 X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: Re: renaming Interfaces.Java.Ada_To_Java_String to the + operator Date: 1998/01/13 Message-ID: <01bd207b$67021d60$41fd82c1@xhv46.dial.pipex.com>#1/1 X-Deja-AN: 315684605 Content-Transfer-Encoding: 7bit References: <01bd1e34$1632c2c0$24326489@Westley-PC.calspan.com> <34bba5a1.224459@SantaClara01.news.InterNex.Net> <34BBBB88.DDE@gsfc.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Organization: UUNet UK server (post doesn't reflect views of UUNet UK) Newsgroups: comp.lang.ada Date: 1998-01-13T00:00:00+00:00 List-Id: No he won't Stephe. Operator precedence is fixed in Ada. This is (cited as) one of Ada's design features. +"abc"&"xyz" means "+"("abc")&"xyz" always. (You need to modify your impulses ;-) -- Nick Roberts Croydon, UK Proprietor, ThoughtWing Software; Independent Software Development Consultant * Nick.Roberts@dial.pipex.com * Voicemail & Fax +44 181-405 1124 * *** Eats three shredded spams every morning for breakfast *** Stephen Leake wrote in article <34BBBB88.DDE@gsfc.nasa.gov>... > Tom Moran wrote: > > > > What does > > +"abc"&"xyz" > > mean, and, more importantly, how many people know without having to > > look it up? > > Oops, I forgot to think about operator precedence in my first post (I > see now that is the point of Tom's post :(. > > This means: > > convert "abc" to some other type, then concatenate "xyz" > > The responsible package author will overload "&" as well as "+", to > handle this correctly, as the reader's first impulse expects :). > > -- > - Stephe >