From: "Manuel G. R." <mgrojo@ya.com>
Subject: Re: Question on use of ! instead of |
Date: Thu, 23 Jun 2005 00:35:33 +0200
Date: 2005-06-23T00:35:33+02:00 [thread overview]
Message-ID: <d9cp3h$vcl$1@news.ya.com> (raw)
In-Reply-To: <42b96967$1_1@newsfeed.slurp.net>
James Alan Farrell wrote:
> According to ASIS, "A!B" is an identifier. If I put spaces around the !
> then A and B are identifiers and things work the way I expect, and if I
> replace the ! with a | again things work the way I expect.
>
> Could this be a bug in the compiler or in ASIS?
In ASIS for GNAT, I think.
>
> I couldn't find ! in the ARM. It's supposed to be a direct replacement
> for |, correct? (ie, they should work the same semantically and
> syntactically?)
>
Yes, they should. This is one of the obsolescent features in Ada 95: "A
vertical line character (|) can be replaced by an exclamation mark (!)
where used as a delimiter."
http://www.adaic.com/standards/95lrm/html/RM-J-2.html
--
Ada programming tutorial: http://en.wikibooks.org/wiki/Programming:Ada
Tutorial de programaci�n en Ada:
http://es.wikibooks.org/wiki/Programaci%C3%B3n_en_Ada
next prev parent reply other threads:[~2005-06-22 22:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-22 13:35 Question on use of ! instead of | James Alan Farrell
2005-06-22 22:35 ` Manuel G. R. [this message]
2005-06-23 13:00 ` James Alan Farrell
2005-06-23 1:27 ` Steve
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox