From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: problemn with string'last Date: Fri, 5 May 2023 21:52:38 +0200 Organization: Adalog Message-ID: References: <2bc1705c-7802-4e89-960f-9b566d376f3cn@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 5 May 2023 19:52:39 -0000 (UTC) Injection-Info: dont-email.me; posting-host="6736f01c60268cd99479e9097f582d7e"; logging-data="2612075"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/9JqAwbJV1PrF09AJQXs3D" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Cancel-Lock: sha1:/pzeQYBtZ+D6jn+WvVaaBbex8cc= In-Reply-To: Content-Language: en-US, fr Xref: news.eternal-september.org comp.lang.ada:65178 List-Id: Le 05/05/2023 à 20:18, Manuel Gomez a écrit : > Yes, and "'""'" is a string containing a quote as an Ada character (when > displayed). Even more fun (I use this for people who write a naive Ada parser): subtype C is Character; V : String := C'(')')'Img; -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX https://www.adalog.fr https://www.adacontrol.fr