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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.50.160.9 with SMTP id xg9mr7064507igb.12.1454241065039; Sun, 31 Jan 2016 03:51:05 -0800 (PST) X-Received: by 10.182.104.163 with SMTP id gf3mr250301obb.5.1454241064998; Sun, 31 Jan 2016 03:51:04 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!o2no687352iga.0!news-out.google.com!kr2ni2457igb.0!nntp.google.com!o2no687320iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 31 Jan 2016 03:51:04 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.55.196.202; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 91.55.196.202 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <714ca353-adc2-4d9b-a1c6-8e7ad6e2a803@googlegroups.com> Subject: Re: Out_File , excess line From: AdaMagica Injection-Date: Sun, 31 Jan 2016 11:51:05 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:29302 Date: 2016-01-31T03:51:04-08:00 List-Id: Am Sonntag, 31. Januar 2016 09:56:38 UTC+1 schrieb comicf...@gmail.com: > Procedure Close [...] outputs a file terminator . > > Terminate_Line call new_line . > > So, for removing the excess line , i must eliminate this Terminate_Line ? > > If its correct , i understand better . > > How to proceed in this case ? > > Is there another way ? There is no term Terminate_Line in the RM. Any file properly written with Ada.Text_IO will be in the canonical form, i.e. each and every line will be ended with a line terminator, also empty lines. The line terminator itself is system dependent and not defined in Ada. This is why there are subprograms dealing with lines (they abstract away the indicator) like Get_Line, New_Line. A line thus terminated will look in some editors as though there was another line following. Why do you care? How does this disturb your work.