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=0.5 required=5.0 tests=BAYES_05,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7b5b3c67aa2a73fe,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!l53g2000cwa.googlegroups.com!not-for-mail From: "mark" Newsgroups: comp.lang.ada Subject: Easy question about Character manipulation Date: 29 Jan 2007 12:01:00 -0800 Organization: http://groups.google.com Message-ID: <1170100860.762334.13830@l53g2000cwa.googlegroups.com> NNTP-Posting-Host: 81.202.207.104 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" X-Trace: posting.google.com 1170100868 31081 127.0.0.1 (29 Jan 2007 20:01:08 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 29 Jan 2007 20:01:08 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: l53g2000cwa.googlegroups.com; posting-host=81.202.207.104; posting-account=AT6Ezw0AAACF85gqHL3KsV2W8So8XSha Xref: g2news2.google.com comp.lang.ada:8687 Date: 2007-01-29T12:01:00-08:00 List-Id: Hello, I am quite newbie to ada. I have declared something like that: size: Integer := 9; emptySpaces : array (0..size) of Character := "0123456789"; textLine : array (0..size * 3) of Character; Now I would like to have the possibility to initialize textLine variable, but when I write: textLine := "9876543210" & emptySpaces & "9876543210"; I got an error 'expected type of textLine' ,'found type od emptySpacs...'. I know it is connected with very deep contstaint checks but have no idea how I could avoid that. Could you tell me how can I make it work?!? Thank you very much, Mark