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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer01.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 01 Dec 2017 11:23:27 -0600 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: "strings are delimited by double quote character", where there's a character variable Date: Fri, 01 Dec 2017 12:23:28 -0500 Organization: IISS Elusive Unicorn Message-ID: <7p332d5p7jv6gv74m83kk47rj8j7cnvbj8@4ax.com> References: <8f8f88d8-b9f6-492e-991a-283509b21696@googlegroups.com> User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 108.68.176.112 X-Trace: sv3-wKIGg7n4EcC3yja+ZSQvHK6SBh6ECv1P0qyHRZG48A44DF7WtWWpXxUxtLzzu7gBcnaItJX9qYvHhe9!CUDXMYWNPJziSrwxB7d7ZxMqkhDJctNH4oQKVS9k2fU4LX+c1EVOWpLFCoHpstvjQ4hKHaSgoaa6!T2Gd3Gsw3da/BaHMYJF4VvnUopE8 X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2081 X-Received-Body-CRC: 2569064926 X-Received-Bytes: 2324 Xref: reader02.eternal-september.org comp.lang.ada:49309 Date: 2017-12-01T12:23:28-05:00 List-Id: Is there a question somewhere in this? On Fri, 1 Dec 2017 07:08:39 -0800 (PST), Mehdi Saada <00120260a@gmail.com> declaimed the following: >I got a a Character variable gnat says it is a String, while functions taking it as parameter take only Characters. Mentions of the variable in the procedure: >C: Character := ''; -- strings are delimited by double quote character >while C /= '' loop > Get(C); PUSH(C); >end loop; >while (C /= '') loop -- same here > Get(C); > PUSH(C); >end loop; I see nothing wrong with the above. There are NO " characters in the example. There are pairs of ' characters, which are used to delimit CHARACTER -- which would be obvious by just stepping the cursor through them. An empty string would be... := ""; -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/