comp.lang.ada
 help / color / mirror / Atom feed
* End of Line Question
@ 1996-07-12  0:00 Spasmo
  1996-07-12  0:00 ` Mike Ibarra
  1996-07-14  0:00 ` Andy Askey
  0 siblings, 2 replies; 7+ messages in thread
From: Spasmo @ 1996-07-12  0:00 UTC (permalink / raw)



Hi.

In Ada95/83 is there any way to test if the end of line has been reached
on the input?  I'm still in the process of learning Ada, but I haven't
found any info on that.  What I'm trying to do is read characters
one by one (via Ada.Text_IO.Get) and I would like to do so until
CR is pressed.  Unfortunately I find that Get ignores CRs entirely
so I can't test what I read.

I know that I could do use Ada.Text_IO.Get_Line, and process the
string, however I would prefer to use Get for this.

BTW, I'm using GNAT305S for DOS.


Thanks in advance.


--
Spasmo
"Here's a present just for you
When you open it, you'll be through"
	"Letter Bomb" by the Circle Jerks





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1996-07-15  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-12  0:00 End of Line Question Spasmo
1996-07-12  0:00 ` Mike Ibarra
1996-07-12  0:00   ` Kevin J. Weise
1996-07-12  0:00     ` Robert Dewar
1996-07-12  0:00   ` Robert Dewar
1996-07-15  0:00   ` Nasser Abbasi
1996-07-14  0:00 ` Andy Askey

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