From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,d86a147e5da7c384 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-09 12:34:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!blackbush.xlink.net!blackbush.de.kpnqwest.net!news.erfurt.thur.de!drcomp.erfurt.thur.de!not-for-mail From: Adrian Knoth Newsgroups: comp.lang.ada Subject: Re: Some general help with ADA Date: 9 Mar 2002 20:13:37 GMT Organization: Modern Electronics Message-ID: References: NNTP-Posting-Host: drcomp.erfurt.thur.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Server-Date: 9 Mar 2002 20:13:37 GMT User-Agent: slrn/0.9.7.3 (Linux) Xref: archiver1.google.com comp.lang.ada:20988 Date: 2002-03-09T20:13:37+00:00 List-Id: Jim 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 !