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,54889de51045a215 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-21 06:52:11 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!feed.news.qwest.net!namche.sun.com!news1brm.central.sun.com!new-usenet.uk.sun.com!not-for-mail From: Ole-Hjalmar Kristensen Newsgroups: comp.lang.ada Subject: Re: += in ada Date: 21 Oct 2003 15:48:28 +0200 Organization: Sun Microsystems Message-ID: References: NNTP-Posting-Host: khepri06.norway.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: new-usenet.uk.sun.com 1066744108 19032 129.159.112.195 (21 Oct 2003 13:48:28 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 21 Oct 2003 13:48:28 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:1289 Date: 2003-10-21T13:48:28+00:00 List-Id: >>>>> "cg" == christoph grein writes: R> procedure P is >> R> procedure Russ (X: in Boolean) is begin null; end Russ >> R> X, Y: Boolean >> R> begin >> R> Russ (X = Y) >> >> I think you have just illustrated his point .... cg> Who has illustrated whose point? Russ( x = y ) is a very poor substitute for Russ(x=>y). I can only guess whether this means assignment of the local variable y to the local variable x followed by a call to Russ with the value y OR a binding of the local variable y to the formal parameter x of Russ. Given that I am reasonably fluent in both C++ and Ada, I would really be confused by this syntax. >> R> Russ (X == Y) >> R> end P >> R> I'll bet I'm smarter than you think I am, Christoph Grein. -- This page intentionally left blank