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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!fx04.iad.POSTED!not-for-mail From: Shark8 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:36.0) Gecko/20100101 Thunderbird/36.0a1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Assembling Complex Strings Containing Carriage Returns Prior to Using Ada.Text_IO.Put? References: <7c1b89e6-9ab8-4faa-b60c-c5c4683f0bff@googlegroups.com> <1c18d4c3-aa53-4547-85c9-55477cde7364@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Complaints-To: abuse@teranews.com NNTP-Posting-Date: Wed, 22 Oct 2014 22:34:32 UTC Organization: TeraNews.com Date: Wed, 22 Oct 2014 16:34:33 -0600 X-Received-Bytes: 1502 X-Received-Body-CRC: 511832857 X-Original-Bytes: 1521 Xref: number.nntp.giganews.com comp.lang.ada:189985 Date: 2014-10-22T16:34:33-06:00 List-Id: On 10/22/2014 12:01 PM, NiGHTS wrote: > This is clear to me now. I will try to avoid 'Img now that I know its GNAT-specific, > or at the very least move it to a file specifically named to be compiled only in > gnat. Thank you for your help. Well, there /are/ places you might want to use it: quick-and-dirty debugging -- where when you find/fix the problem you remove the 'Img -- and/or if your codebase is going to stay in GNAT. (In its own self-hosted code would, I imagine, be acceptable.) But the main thing is to understand that it's non-portable.