From: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Subject: Re: Some general help with ADA
Date: 9 Mar 2002 20:13:37 GMT
Date: 2002-03-09T20:13:37+00:00 [thread overview]
Message-ID: <slrna8kr7h.316.adi@drcomp.erfurt.thur.de> (raw)
In-Reply-To: ab6237e2.0203091102.103d54e9@posting.google.com
Jim <genx54321@hotmail.com> wrote:
> how do you create a blank screen like the CLS command in Qbasic/DOS ?
> can you do it with text_io ?
Doing it with ASCII:
procedure ClearScreen is
begin
Text_IO.Put (Item => ASCII.ESC);
Text_IO.Put (Item => "[2J");
end ClearScreen;
(copied from screen.adb, (C) Michael Feldman)
> also how do i remove 'rows' in an array ?
You're using a static object. So either copy the needed lines to a
new one or use dynamic handling of your array. This is not something
you can do if you're new to Ada (mixed-cased spelling!).
You should better blank your old data and/or resort your array-data.
Why do you need to shrink an array? This sounds very unusual.
--
mail: adi@thur.de http://adi.thur.de PGP: v2-key via keyserver
Die Pille ist blo� fauler Zaubr, nur Ajax h�lt das Becken sauber !
prev parent reply other threads:[~2002-03-09 20:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-09 19:02 Some general help with ADA Jim
2002-03-09 19:46 ` Some general help with Ada chris.danx
2002-03-10 0:57 ` David Starner
2002-04-08 0:43 ` Nick Roberts
2002-03-09 20:13 ` Adrian Knoth [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox