comp.lang.ada
 help / color / mirror / Atom feed
* beginner question re: user input & output to screen
@ 1999-02-15  0:00 fluffy_dong
  1999-02-15  0:00 ` Matthew Heaney
  0 siblings, 1 reply; 4+ messages in thread
From: fluffy_dong @ 1999-02-15  0:00 UTC (permalink / raw)


Hi,

I'm in this programming class and I have a program to hand in.
There's a place in the program where I'm supposed to display a table
and leave it there until the user presses <Enter>.  I don't know how
to do this.  The only way I know to make my program "stop and wait" is
by using "GET", but GET seems to require that the user types
something, anything, before he/she presses <Enter>.

So what's the simplest way to hold the screen until <Enter>.  My
program structure is fine and the other screen I want displayed is
fine.  The way I have it now is that the table comes up, with a couple
of blank lines bellow, and my other screen bellow that.  It all fits
on one screen but that's not the way the teacher wants it.

What I usually do is to give the user two choices, one to continue and
one to quit, and I put the answer in some variable that determines
what is done next.

Any help would be greatly appreciated.

Marc
--
What I really am is "fluffy", no "_dong",
no "_puff", no "_woo", no  nothing, just plain fluffy.






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

end of thread, other threads:[~1999-02-15  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-15  0:00 beginner question re: user input & output to screen fluffy_dong
1999-02-15  0:00 ` Matthew Heaney
1999-02-15  0:00   ` fraser
1999-02-15  0:00   ` Chad R. Meiners

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