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.1 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT,REPLYTO_WITHOUT_TO_CC,T_FILL_THIS_FORM_SHORT 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: dkristol@pollock.artists (David Kristola) Subject: Re: Question for the folks who designed Ad Date: 1999/04/29 Message-ID: <7g8roe$igd1@svlss.lmms.lmco.com>#1/1 X-Deja-AN: 472172595 Distribution: world References: <7g72rf$hjh3@ftp.kvaerner.com> Organization: Sun Microsystems, Inc. Reply-To: dkristol@pollock.artists Newsgroups: comp.lang.ada Date: 1999-04-29T00:00:00+00:00 List-Id: In article hjh3@ftp.kvaerner.com, "Tarjei Tj�stheim Jensen" () writes: > >Robert Dewar wrote : >> >>In other words: >> >> a(5) >> >>is a reference to a mapping, and you want the range value >>given the domain value 5. Whether this is implemented by >>an array or a function is an implementation detail that >>should not affect the syntactic form of reference. > > >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. > >I don't mind if the function addicts still writes a(5) := 4, if I can write >a[5] := 4. > >Greetings, > > > a(5).some_value := 4; Maybe the function a returns a pointer to a record structure... --djk Home: David95037 at aol dot com Work: use my home email address