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-Thread: 103376,20c75acdaea028c3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.maxwell.syr.edu!newscon06.news.prodigy.com!prodigy.net!news-east.rr.com!news-feed-01.rdc-kc.rr.com!news.rr.com!cyclone2.kc.rr.com!news2.kc.rr.com!tornado.socal.rr.com.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Usage of \ in Ada References: <1156147411.215015.31110@i42g2000cwa.googlegroups.com> <17jicmx6si17i.1wwvf6cafw7u1.dlg@40tude.net> <1thd8agjty9cr.dyp1m8yqb4xd$.dlg@40tude.net> From: Keith Thompson Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:A6nsT1stxHWFrkz4M+aHbzVqPQY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 22 Aug 2006 21:29:58 GMT NNTP-Posting-Host: 75.80.183.54 X-Complaints-To: abuse@rr.com X-Trace: tornado.socal.rr.com 1156282198 75.80.183.54 (Tue, 22 Aug 2006 14:29:58 PDT) NNTP-Posting-Date: Tue, 22 Aug 2006 14:29:58 PDT Organization: Road Runner High Speed Online http://www.rr.com Xref: g2news2.google.com comp.lang.ada:6320 Date: 2006-08-22T21:29:58+00:00 List-Id: "Jeffrey R. Carter" writes: > Dmitry A. Kazakov wrote: >> That's what I mean. Only identifier letters, digits, spaces and >> "Any character of the ISO 10646 BMP that is not reserved for a >> control >> function, and is not the space_character, an identifier_letter, or a digit" >> are allowed. Actually it is not different from escape sequences of C, >> except that once escaped you won't get back without a compile error. > > However, any value of Character can be in a Value of type String, and > none of them have any special significance in the language. That's the > context that I was replying in. A character in a *value* of type String can be anything; that's separate from the question of interpreting characters in string literals in source code. For example, a doubled '"' character in a string literal is interpreted as a single '"' character, but there's nothing special about a '"' character in a value of type String. (Similarly, in C, there's nothing special about a backslash character in a runtime string value.) -- Keith Thompson (The_Other_Keith) kst-u@mib.org San Diego Supercomputer Center <*> We must do something. This is something. Therefore, we must do this.