comp.lang.ada
 help / color / mirror / Atom feed
From: rehixon@aol.com (RE Hixon)
Subject: Re: Text_IO.Get_Line
Date: 1997/05/22
Date: 1997-05-22T00:00:00+00:00	[thread overview]
Message-ID: <19970522184500.OAA10276@ladder02.news.aol.com> (raw)
In-Reply-To: dewar.863917102@merv


In your last message you suggested using Get_Immediate.  According to all
my sources here it should work exactly the way that I want.  I only have
one problem -- it doesn't.  Cohen states in his book, Ada as a Second
Language, p. 769, that "Get_Immediate works just like the Character
version of Get, except that if the underlying operating system allows it,
unbuffered input is used."  I guess that DOS 6.22 and Win 95 are two of
those operating systems that do not allow unbuffered input.  On both
systems using GNAT 3.07, Get_Immediate did not recognize the character
input without pressing the ENTER key.  Do you have any other suggestions
or ideas that would allow me to create interactive input using Ada 95
and/or limiting the number of characters that a user can enter?  Thanks in
advance.
Russell E. Hixon, USAF                    COMM   601.377.0520
Master Instructor                               FAX       601.377.1252
333rd Training Squadron                    EMAIL   REHixon@aol.com




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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` RE Hixon [this message]
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