comp.lang.ada
 help / color / mirror / Atom feed
* Clearscreen
@ 2001-12-24  0:17 Liddle Feesh
  2001-12-24  0:19 ` Clearscreen Liddle Feesh
  0 siblings, 1 reply; 8+ messages in thread
From: Liddle Feesh @ 2001-12-24  0:17 UTC (permalink / raw)


Sounds simple, but anyone know how to clear the screen in Ada?

I've noticed quite a lot that the [12j needs to be 'putted' after the escape
char, but apart from that -  I'm baffled...

Any hints?


--
Liddle Feesh
 '  O 0 o <"//><  ' o'^
(Remove UNDERPANTS to reply)







^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Clearscreen
@ 2001-12-24  0:40 Gautier Write-only-address
  2001-12-24 14:12 ` Clearscreen Liddle Feesh
  0 siblings, 1 reply; 8+ messages in thread
From: Gautier Write-only-address @ 2001-12-24  0:40 UTC (permalink / raw)
  To: comp.lang.ada

>Still none the wiser after loading the ANSI.SYS driver.
>
>Program is running in the DOS environment

In that case you might be interested by the package
PC_TextScreen (pctextsc.ads,pctextsc.adb) in
dos_paqs.zip, page below. Of course not as portable
as a New_Line(N).
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, address on the Web site!


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.




^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: Clearscreen
@ 2001-12-25 21:33 Gautier Write-only-address
  2001-12-26 12:03 ` Clearscreen Liddle Feesh
  0 siblings, 1 reply; 8+ messages in thread
From: Gautier Write-only-address @ 2001-12-25 21:33 UTC (permalink / raw)
  To: comp.lang.ada

Liddle Feesh:

>New_Line(N) would eventually fill the screen with blank lines and
>therefore reduce efficiency?

Well... it depends on the nature of your project...
+/- portable, +/- console, +/- DOS, +/- interactive, ... ?
Maybe the ANSI solution is the tradeoff you are looking for.
Just by searching the Web with "procedure gotoxy is ansi ada"
I found a lot of ready-made packages. E.g. this one
  http://perso.club-internet.fr/ariffart/ada/ada05.html
HTH
____________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/index.htm#Ada

NB: For a direct answer, address on the Web site!


_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com




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

end of thread, other threads:[~2001-12-26 12:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-24  0:17 Clearscreen Liddle Feesh
2001-12-24  0:19 ` Clearscreen Liddle Feesh
2001-12-25  0:17   ` Clearscreen Frode Tennebø
2001-12-26 12:04     ` Clearscreen Liddle Feesh
  -- strict thread matches above, loose matches on Subject: below --
2001-12-24  0:40 Clearscreen Gautier Write-only-address
2001-12-24 14:12 ` Clearscreen Liddle Feesh
2001-12-25 21:33 Clearscreen Gautier Write-only-address
2001-12-26 12:03 ` Clearscreen Liddle Feesh

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