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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Usage of \ in Ada Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1156147411.215015.31110@i42g2000cwa.googlegroups.com> Date: Mon, 21 Aug 2006 22:25:34 +0200 Message-ID: <17jicmx6si17i.1wwvf6cafw7u1.dlg@40tude.net> NNTP-Posting-Date: 21 Aug 2006 22:25:30 CEST NNTP-Posting-Host: c339ea61.newsspool4.arcor-online.net X-Trace: DXC=D:3PUkkklXSV;Ef1`Jk54\4IUK\BH3YR8W=i0XOBmB]DNcfSJ;bb[UIRnRBaCd On Mon, 21 Aug 2006 19:44:41 GMT, Jeffrey R. Carter wrote: > Jerry wrote: >> >> Am I right in recommending that this behavior for Ada be such that \ is >> never an escape character? > > The language attributes no special meaning to any character. Hmm, I don't think it is true. For example, format effectors: ARM 2.2(2): "The text of a compilation is divided into lines. In general, the representation for an end of line is implementation defined. However, a sequence of one or more format_effectors other than character tabulation (HT) signifies at least one end of line." I.e. placing LF character into a string literal, be prepared to surprises... -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de