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,d2f0af5e440b367f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-26 05:22:16 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: proposal for new assignment operators Date: Thu, 26 Jun 2003 12:17:33 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: d2-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1056629853 21833 134.91.1.15 (26 Jun 2003 12:17:33 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 26 Jun 2003 12:17:33 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/831)) Xref: archiver1.google.com comp.lang.ada:39770 Date: 2003-06-26T12:17:33+00:00 List-Id: Russ <18k11tm001@sneakemail.com> wrote: : :> Your syntax is *in*compatible with the co-existence of the '=' operator and :> the ':=' assignment symbol. In your proposal, x :? y, :> for some operator ?, means: "x is assigned the value of (x ? y)". :> : The ":=" symbol obviously : should not be redefined for this special case. So the answer to your : question is that a := b would assign b to a. special casing for operators... Searching goole for "augmented assignment" -python turn up some interesting material. : It wouldn't be useful anyway. After all, none of the languages with : "+=" have "===", do they? They do. However, += need not be what you think it is. Georg