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,4947e94bd021c540 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-07 18:27:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!news.webusenet.com!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread4.news.pas.earthlink.net.POSTED!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: C array to Ada pointer to unconstrained array without copying memory References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Wed, 08 Oct 2003 01:27:38 GMT NNTP-Posting-Host: 63.184.9.218 X-Complaints-To: abuse@earthlink.net X-Trace: newsread4.news.pas.earthlink.net 1065576458 63.184.9.218 (Tue, 07 Oct 2003 18:27:38 PDT) NNTP-Posting-Date: Tue, 07 Oct 2003 18:27:38 PDT Xref: archiver1.google.com comp.lang.ada:423 Date: 2003-10-08T01:27:38+00:00 List-Id: Duncan Sands wrote: > I'm a bit surprised you ask. Your comment is analogous to "there is > generally no need to use pointers to strings". And indeed, you often > don't need them, but there are plenty of legitimate, not to say > essential uses for them. I would like to pass a pointer to X all > around my program. Every time I've seen an example that needs pointers to String, it didn't need pointers to String. Lots of people like to use pointers when they're not necessary; the fact that you'd like to pass a pointer to X all around your program doesn't mean you need to. -- Jeff Carter "My name is Jim, but most people call me ... Jim." Blazing Saddles 39