comp.lang.ada
 help / color / mirror / Atom feed
* Troubles : New_Page & Get_Immediate
@ 1997-10-17  0:00 Ray Tindall
  1997-10-18  0:00 ` Jerry van Dijk
  1997-10-18  0:00 ` Jerry van Dijk
  0 siblings, 2 replies; 6+ messages in thread
From: Ray Tindall @ 1997-10-17  0:00 UTC (permalink / raw)



Help for a novice?

Using Ada95 and the GW-Gnat compiler.

When trying to use New_Page as in
   New_Page;
to simply refresh the screen in output of text to the screen all I'm
getting is a weird symbol, the control character that represents a page
terminator I guess.  Does anyone know why and or if there is a specific way
it must be used or if it's inappropriate to do what I'm trying.

The LRM states that Get_Immediate can be used to get a character from the
keyboard immediately ie. without the enter key.   But says should be used
with 'unbuffered' input.   Are there any references or suggestions as to
how to do low_level IO or 'unbuffered' input to do this.  End goal to have
something like the well known 'hit any key to continue'.





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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-17  0:00 Troubles : New_Page & Get_Immediate Ray Tindall
1997-10-18  0:00 ` Jerry van Dijk
1997-10-20  0:00   ` Anonymous
1997-10-21  0:00     ` Jerry van Dijk
1997-10-20  0:00   ` John English
1997-10-18  0:00 ` Jerry van Dijk

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