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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7d8ad14b2bbc7921 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-24 09:40:52 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: shoko2004@hotmail.com (shoko) Newsgroups: comp.lang.ada Subject: Re: unconstrained array question Date: 24 Nov 2003 09:40:52 -0800 Organization: http://groups.google.com Message-ID: <4948f537.0311240940.4737d3c2@posting.google.com> References: <4948f537.0311220939.7e05afbf@posting.google.com> <4948f537.0311222312.43d843c5@posting.google.com> <4948f537.0311231003.3b36b880@posting.google.com> NNTP-Posting-Host: 217.132.88.156 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069695652 2339 127.0.0.1 (24 Nov 2003 17:40:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 24 Nov 2003 17:40:52 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:2906 Date: 2003-11-24T09:40:52-08:00 List-Id: Marius Amado Alves wrote in message news:... > Shoko, try to write correct English and use conventional Ada style. It > will improve your chances of getting an answer in this list. > > You need to convert String to your character array where the latter is > expected: > > N := new Arr' (Arr (Input_Line)); > > But avoid using pointers. You can use declare blocks: > > declare > A : Arr := Arr (Input_Line); > begin > ... > end; I am sorry for my bad english I really need your help: My question is: -------------------------------------------------- type Arr is Array(integer range<>) of Character; function Get_Text (Control : Multiline_Type; Line : Natural := 0) return String is abstract; ---------------------------------------------------- Now all i want to do is: declare a : Arr := Arr(Get_Text(value)); begin something; end; -------------------------------------- How can i convert abstract String to my ARR type? (Character array). thanks again.