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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,612990d6f00ea42 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.135.231 with SMTP id pv7mr15366337pbb.8.1331020274951; Mon, 05 Mar 2012 23:51:14 -0800 (PST) MIME-Version: 1.0 Path: h9ni45072pbe.0!nntp.google.com!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: anon@att.net Newsgroups: comp.lang.ada Subject: Re: Can I convert a string of letters into an array? Date: Tue, 6 Mar 2012 07:51:12 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <9891847.4305.1330998375979.JavaMail.geo-discussion-forums@vbai14> <3994111.4442.1331003406394.JavaMail.geo-discussion-forums@vblb5> Reply-To: anon@anon.org NNTP-Posting-Host: ShLh0A326xSLk+UDHhLBOA.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: IBM NewsReader/2 2.0 Date: 2012-03-06T07:51:12+00:00 List-Id: Yes, it possible! with Ada.Text_IO ; procedure a is A : String ( 1 .. 4 ) ; B : Character := 'T' ; begin A := ( 't', 'e', 's', 't' ) ; Ada.Text_IO.Put_Line ( A ) ; A := ( B, 'e', 's', 't' ) ; Ada.Text_IO.Put_Line ( A ) ; end a ; In , Jeffrey Carter writes: >On 03/05/2012 08:10 PM, Will wrote: >> >> Jeff, I am a beginner at Ada, so I have no idea what you mean by that ha ha? > >That's OK. It's apparent from your post with the problem statement that you >don't want to sort a String anyway. > >-- >Jeff Carter >"Sir Lancelot saves Sir Gallahad from almost certain temptation." >Monty Python & the Holy Grail >69