comp.lang.ada
 help / color / mirror / Atom feed
* GNAT Ada - Clear Screen
@ 2003-04-18  9:05 Fingertip
  2003-04-18  9:19 ` David C. Hoos, Sr.
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Fingertip @ 2003-04-18  9:05 UTC (permalink / raw)


Hello everyone,

This is the first time I post here, so I hope I don't violate any 
guidelines and/or rules you guys set here.

Now, for my question:

I am using a GNAT Ada compiler, and I want to be able to clear the console 
window.

I've searched the net for some solutions, but the only solutions I found 
were:
ADA.TEXT_IO.NEW_PAGE;

And:
ADA.TEXT_IO.NEW_LINE (24);

The first solution doesn't really work. It just outputs the ASCII.FF char, 
but it doesn't do anything.

The second solution isn't much help, because it moves the marker to the 
bottom of the screen. When I try to get it back to the top with:
ADA.TEXT_IO.SET_COL  (1);
ADA.TEXT_IO.SET_LINE (1);

It outputs the ASCII.FF character again, but does nothing else.

I would appreciate any help you have to offer.

Thanks in advace,
Fingertip



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

end of thread, other threads:[~2003-04-19 16:25 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-18  9:05 GNAT Ada - Clear Screen Fingertip
2003-04-18  9:19 ` David C. Hoos, Sr.
2003-04-18 10:01   ` Fingertip
2003-04-18 16:47     ` tmoran
2003-04-18 17:54       ` Michael Bode
2003-04-18 10:01 ` David Holm
2003-04-18 11:02   ` Fingertip
2003-04-19  1:05     ` David Holm
2003-04-19  3:40     ` Steve
2003-04-18 10:55 ` Jeffrey Creem
2003-04-18 14:25 ` Fingertip
2003-04-18 14:36   ` Preben Randhol
2003-04-18 14:56     ` Fingertip
2003-04-18 15:15       ` Preben Randhol
2003-04-18 19:06 ` Richard Riehle
2003-04-19  6:43 ` Tarjei T. Jensen
2003-04-19 16:25   ` Aurele Vitali

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