comp.lang.ada
 help / color / mirror / Atom feed
From: rehixon@aol.com (RE Hixon)
Subject: Text_IO.Get_Line
Date: 1997/05/17
Date: 1997-05-17T00:00:00+00:00	[thread overview]
Message-ID: <19970517194301.PAA19410@ladder02.news.aol.com> (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




             reply	other threads:[~1997-05-17  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-17  0:00 RE Hixon [this message]
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
replies disabled

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