comp.lang.ada
 help / color / mirror / Atom feed
* Text_IO.Get_Line
@ 1997-05-17  0:00 RE Hixon
  1997-05-17  0:00 ` Text_IO.Get_Line Robert Dewar
  1997-05-18  0:00 ` Text_IO.Get_Line Matthew Heaney
  0 siblings, 2 replies; 8+ messages in thread
From: RE Hixon @ 1997-05-17  0:00 UTC (permalink / raw)



This may have a simple fix, but it has me perplexed.  I have used several
different Ada compilers (Ada 83 and 95) on different types of Intel based
systems and keep getting the same results.  When I use Get_Line and enter
more characters than the specified string will hold; the remaining
characters stay in the input buffer waiting for the next Get.  This causes
an exception to occur.  My fix is to execute a Skip_Line after each
Get_Line, but this seems inefficient.  Any ideas, or reasons why I am
getting these results?

Russell E. Hixon, USAF                    COMM   601.377.0520
Master Instructor                               FAX       601.377.1252
333rd Training Squadron                    EMAIL   REHixon@aol.com




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

end of thread, other threads:[~1997-05-25  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-17  0:00 Text_IO.Get_Line RE Hixon
1997-05-17  0:00 ` Text_IO.Get_Line Robert Dewar
1997-05-19  0:00   ` Text_IO.Get_Line RE Hixon
1997-05-19  0:00     ` Text_IO.Get_Line Matthew Heaney
1997-05-22  0:00   ` Text_IO.Get_Line RE Hixon
1997-05-22  0:00     ` Text_IO.Get_Line Nick Roberts
1997-05-25  0:00     ` Text_IO.Get_Line Jerry van Dijk
1997-05-18  0:00 ` Text_IO.Get_Line Matthew Heaney

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