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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,27fc7a8facdb6bb5 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!nsnmrro1-lo.nuria.telefonica-data.net!nsnmpen1-lo.nuria.telefonica-data.net!news.ya.com!yacom!not-for-mail From: "Manuel G. R." Newsgroups: comp.lang.ada Subject: Re: Question on use of ! instead of | Date: Thu, 23 Jun 2005 00:35:33 +0200 Organization: ya.com internet factory Message-ID: References: <42b96967$1_1@newsfeed.slurp.net> NNTP-Posting-Host: 62-151-40-72.yaonline.ya.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.ya.com 1119479729 32149 62.151.40.72 (22 Jun 2005 22:35:29 GMT) X-Complaints-To: newsmaster@ya.com NNTP-Posting-Date: Wed, 22 Jun 2005 22:35:29 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 X-Accept-Language: es-es, es, en-us, en In-Reply-To: <42b96967$1_1@newsfeed.slurp.net> Xref: g2news1.google.com comp.lang.ada:11576 Date: 2005-06-23T00:35:33+02:00 List-Id: 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