comp.lang.ada
 help / color / mirror / Atom feed
From: "Ray Tindall" <bjyxxl@echidna.stu.cowan.edu.au>
Subject: Troubles : New_Page & Get_Immediate
Date: 1997/10/17
Date: 1997-10-17T00:00:00+00:00	[thread overview]
Message-ID: <01bcdae4$3f70ffa0$0f02000a@default> (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'.





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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-17  0:00 Ray Tindall [this message]
1997-10-18  0:00 ` Troubles : New_Page & Get_Immediate Jerry van Dijk
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
replies disabled

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