comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Unusual syntax
Date: Thu, 16 May 2002 15:29:23 -0500
Date: 2002-05-16T15:29:23-05:00	[thread overview]
Message-ID: <ue85kpe0oip84c@corp.supernews.com> (raw)
In-Reply-To: wCTE8.4168$Ag2.145840@newsfep1-win.server.ntli.net

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.







  parent reply	other threads:[~2002-05-16 20:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16 19:14 Unusual syntax Steve Caddy
2002-05-16 19:56 ` Florian Weimer
2002-05-16 20:29 ` Randy Brukardt [this message]
2002-05-17 10:01 ` Robert Dewar
2002-05-17 19:23   ` Steve Caddy
2002-05-17 19:43   ` Jeffrey Carter
2002-05-19  4:30     ` Robert Dewar
2002-05-19 21:01       ` Jeffrey Carter
2002-05-20 14:20         ` Marin David Condic
2002-05-21  2:52           ` Jeffrey Carter
2002-05-21 13:16             ` Marin David Condic
2002-05-22  0:02               ` Mark Biggar
2002-05-22  1:51                 ` Jeffrey Carter
2002-05-22 14:20                   ` Marin David Condic
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox