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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2e69f8b2b50371a6 X-Google-Attributes: gid103376,public From: Fernando Tricas Subject: Re: End_Of_Line, End_Of_File Date: 1996/12/02 Message-ID: #1/1 X-Deja-AN: 201854562 references: x-sender: ftricas@tsc4 content-type: TEXT/PLAIN; charset=US-ASCII organization: Universiad de Zaragoza - Spain mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-12-02T00:00:00+00:00 List-Id: > Fernando says > > "The problem is I do not know how to recognize when there is an End_Of_Line > followed by an End_Of_File or when there is and End_Of_File alone. The On 30 Nov 1996, Robert Dewar wrote: > > Well GNAT is doing exactly what the Ada 95 reference manual requires. > What you are really discovering is that Text_IO is not an easy tool > for this sort of programming. I recommend you use Stream_IO instead, then > you know exactly what you are reading. I've solved the problem using instantiating Sequential_IO fot character type and looking for chacarcter.latin_1.lf Thank you for your help, Fernando Tricas