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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,10444cff97404845 X-Google-Attributes: gid103376,public From: Ray Blaak Subject: Re: C like op= proposal Date: 1999/08/15 Message-ID: #1/1 X-Deja-AN: 513138556 Sender: blaak@vault84.infomatch.bc.ca References: X-Trace: news.bctel.net 934751601 207.34.170.84 (Sun, 15 Aug 1999 14:13:21 PDT) NNTP-Posting-Date: Sun, 15 Aug 1999 14:13:21 PDT Newsgroups: comp.lang.ada X-Complaints-To: news@bctel.net Date: 1999-08-15T00:00:00+00:00 List-Id: Brian Rogoff writes: > lhs := @ + 1; -- C: lhs++; > lhs := @ * 5; -- C: lhs *= 5; > lhs := 1/@ + 5*(@/2 + @ ** 2); -- C doesn't do so good here either! This is not worth the trouble of changing the language, especially considering that one can already do this: declare lhs : Some_Type renames Long_And_Complicated_Lvalue; begin lhs := lhs + 1; -- C: lhs++; lhs := lhs * 5; -- C: lhs *= 5; lhs := 1/lhs + 5*(lhs/2 + lhs ** 2); -- C doesn't do so good here either! end; -- Cheers, The Rhythm is around me, The Rhythm has control. Ray Blaak The Rhythm is inside me, blaak@infomatch.com The Rhythm has my soul.