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!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Ada++ Date: Fri, 29 May 2020 08:06:31 +0200 Organization: Adalog Message-ID: References: <50711230-5b14-4278-b9d8-d197bbe3c93b@googlegroups.com> <9320040f-5486-4d1e-847d-f81b0a59fcfa@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 29 May 2020 06:06:32 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="8385e9eebcf488b30f9aa070996c42ee"; logging-data="14211"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WjVtYRYjpuaRio0QBOg1b" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cancel-Lock: sha1:zxnCpbd7XU1j9L1rqzOYOZI1hnQ= In-Reply-To: Content-Language: fr Xref: reader01.eternal-september.org comp.lang.ada:58844 Date: 2020-05-29T08:06:31+02:00 List-Id: Le 29/05/2020 à 06:38, Nasser M. Abbasi a écrit : > "Ada has neither heredocs nor multiline strings. A > workaround is to use containers of strings:" Please provide a use case showing how these features are necessary/important. In the rare cases where I needed to put a several-lines message into a single string, I just marked the place of line break with a LF character (in Ada, you could even use an NUL character for that!), and issued a New_Line when I encountered it. Anyway, that's what other languages do implicitely. If you don't mind being (slightly) OS dependent, printing the LF will naturally accompish what you want. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr