comp.lang.ada
 help / color / mirror / Atom feed
From: Fernando Tricas <ftricas@tsc1.cps.unizar.es>
Subject: Re: End_Of_Line, End_Of_File
Date: 1996/12/02
Date: 1996-12-02T00:00:00+00:00	[thread overview]
Message-ID: <Pine.SUN.3.95.961202104027.355A-100000@tsc4> (raw)
In-Reply-To: dewar.849368006@merv




> 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






  reply	other threads:[~1996-12-02  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-30  0:00 End_Of_Line, End_Of_File Fernando Tricas
1996-11-30  0:00 ` Robert Dewar
1996-12-02  0:00   ` Fernando Tricas [this message]
1996-12-02  0:00     ` Robert Dewar
1996-12-10  0:00   ` Robert I. Eachus
1996-12-02  0:00 ` Peter Amey
1996-12-02  0:00   ` Robert Dewar
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox