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-Thread: 103376,7b5b3c67aa2a73fe X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news2.volia.net!solnet.ch!solnet.ch!news-zh.switch.ch!switch.ch!news.ip-plus.net!newsfeed.ip-plus.net!news.post.ch!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Easy question about Character manipulation Date: Tue, 30 Jan 2007 13:28:45 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <45bf39fd$1@news.post.ch> References: <1170100860.762334.13830@l53g2000cwa.googlegroups.com> NNTP-Posting-Host: 194.41.146.1 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Trace: atlas.ip-plus.net 1170160133 1122 194.41.146.1 (30 Jan 2007 12:28:53 GMT) X-Complaints-To: abuse@ip-plus.net NNTP-Posting-Date: Tue, 30 Jan 2007 12:28:53 +0000 (UTC) User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) In-Reply-To: <1170100860.762334.13830@l53g2000cwa.googlegroups.com> X-Original-NNTP-Posting-Host: w01iwt.pnet.ch X-Original-Trace: 30 Jan 2007 13:28:45 +0200, w01iwt.pnet.ch Xref: g2news2.google.com comp.lang.ada:8703 Date: 2007-01-30T13:28:45+01:00 List-Id: mark schrieb: > Hello, > > I am quite newbie to ada. I have declared something like that: May is suggest: http://en.wikibooks.org/wiki/Ada_Programming/Strings http://en.wikibooks.org/wiki/Ada_Programming/Type_System to you. > size: Integer := 9; > emptySpaces : array (0..size) of Character := "0123456789"; > textLine : array (0..size * 3) of Character; It has been suggested before so let me emphasis: use size: Integer := 10; emptySpaces : array (1..size) of Character := "0123456789"; textLine : array (1..size * 3) of Character; Martin