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.0 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,c7d533acec91ae16 X-Google-Attributes: gid103376,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: Question for the folks who designed Ada95 Date: 1999/04/28 Message-ID: <1999Apr28.104920.1@eisner>#1/1 X-Deja-AN: 471907171 X-Nntp-Posting-Host: eisner.decus.org References: <7g2qu4$ca4$1@usenet.rational.com> <7g3b5g$p92$1@nnrp1.dejanews.com> <7g4ae3$hjh2@ftp.kvaerner.com> <3725C49E.8106A44B@aasaa.ofe.org> <7g4mrs$v5n$1@nnrp1.dejanews.com> <7g72rf$hjh3@ftp.kvaerner.com> X-Trace: news.decus.org 925310965 6080 KILGALLEN [192.67.173.2] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.lang.ada Date: 1999-04-28T00:00:00+00:00 List-Id: In article <7g72rf$hjh3@ftp.kvaerner.com>, "Tarjei Tj�stheim Jensen" writes: > What would a(5) := 4; mean then? You cannot assign to a function as far as I > know. Which in my opinion voids the function opposition to the common > convention of using square brackets for array indices. As you obviously figured out, it works for X := A(5). Yes, this is not symmetric, the way Bliss structures are. But Ada is not Bliss, and like all languages it is a compromise. > I don't mind if the function addicts still writes a(5) := 4, if I can write > a[5] := 4. I don't care what you write, I just want uniformity in what I read, which is why I want uniformity in what compilers accept. I would not have minded if [] had been used all around instead of (), but that was not the case. Larry Kilgallen