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-7-bit X-Google-Thread: 103376,e7d4f2a40929e50c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-22 09:45:33 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: array and pointers References: <4948f537.0311220139.570c8a4e@posting.google.com> In-Reply-To: <4948f537.0311220139.570c8a4e@posting.google.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <1hNvb.10796$n56.5522@newsread1.news.pas.earthlink.net> Date: Sat, 22 Nov 2003 17:45:33 GMT NNTP-Posting-Host: 63.184.17.16 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.pas.earthlink.net 1069523133 63.184.17.16 (Sat, 22 Nov 2003 09:45:33 PST) NNTP-Posting-Date: Sat, 22 Nov 2003 09:45:33 PST Xref: archiver1.google.com comp.lang.ada:2855 Date: 2003-11-22T17:45:33+00:00 List-Id: shoko wrote: > i am new in ada > > i have a function that returns unconstrained array > i am tring to create a pointer to the new array Why? As an Ada beginner, you probably have no need for pointers at all, unless you are creating a dynamically linked data structure. Pointers are needed much more rarely in a high-level language such as Ada than they are in low-level languages such as C and its derivatives. -- Jeff Carter "Why don't you bore a hole in yourself and let the sap run out?" Horse Feathers 49