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,f44e8b91bd1d669d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-16 13:29:14 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Unusual syntax Date: Thu, 16 May 2002 15:29:23 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Newsreader: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3719.2500 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:24231 Date: 2002-05-16T15:29:23-05:00 List-Id: Steve Caddy wrote in message ... >I've been programming Ada95 for several years now, and have referred to >my copies of both Barnes and Skansholm in times of need. All has been >well... until I started working with a guy who has a copy of Skansholm >in Swedish. > >Interestingly enough, his copy demonstrates the use of a case statement >with something like this... > >when A ! B ! D => do_something; > >...as opposed to what I'm familiar with... > >when A | B | D => do_something; > >I was even more amazed when the first version compiled and functioned in >the same way as the second version. > >Has anyone come across this before? I've searched the LRM for clues, but >I can't find any other reference to this syntax. Please reassure me that >I'm not going mad! That's an obsolecent feature. See J.2 in the RM: http://www.adaic.org/standards/95lrm/html/rm-j-2.html. Randy Brukardt.