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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,49187406979ac933 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-14 12:45:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!nycmny1-snh1.gtei.net!cambridge1-snf1.gtei.net!news.gtei.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3C6C1653.2B557CAE@west.raytheon.com> From: Jerry Petrey <"jdpetrey"@west.raytheon.com> X-Mailer: Mozilla 4.76 [en]C-CCK-MCD CSC;Raytheon (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Operator question. References: <2vRa8.11975$kt5.28657@rwcrnsc52.ops.asp.att.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 14 Feb 2002 12:56:03 -0700 NNTP-Posting-Host: 147.24.83.38 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1013716666 147.24.83.38 (Thu, 14 Feb 2002 13:57:46 CST) NNTP-Posting-Date: Thu, 14 Feb 2002 13:57:46 CST Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:20024 Date: 2002-02-14T12:56:03-07:00 List-Id: Wannabe h4x0r wrote: > > Alright, forgive me if this question seems dumb. I cant beleive I havent > asked it before now.(or maybe I have and I just forgot.) > > What does the operator '=>' mean? I've been looking through my book > "Programming in Ada95" but I cant seem to find it anywhere. > > I see it everywhere in Ada code. Maybe I'm just a slow learner. > > Any help would be appreciated. > > Thanks. > > Chris Actually Barnes first mentions the => (commonly called 'arrow') in his section on array aggregates - he says it is akin to the 'pointing hand' sign found in old railway timetables and used for indication directions. Normally => is thought of as meaning 'gets' or 'becomes' as in the subprogram call Foo (Value => X). The formal parameter Value 'gets' the actual parameter X and so forth. In the case structure, it takes on the 'pointing hand' analogy even better, i.e. 'for this case do this'. Jerry -- ----------------------------------------------------------------------------- -- Jerry Petrey -- Senior Principal Systems Engineer - Navigation, Guidance, & Control -- Raytheon Missile Systems - Member Team Ada & Team Forth -- NOTE: please remove in email address to reply -----------------------------------------------------------------------------