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-Thread: a07f3367d7,e61e0c2934b7f4d5 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder.news-service.com!feeder.erje.net!news.tornevall.net!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Question on array of strings Date: Thu, 29 Oct 2009 15:58:40 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <5b1ad377-7f6f-4fdc-9fe7-0aa95cd0bd73@o10g2000yqa.googlegroups.com> NNTP-Posting-Host: 72aa01d337614d91f497d13308ce7d6f Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: 22e1005450f9eb35d356726f9772881d X-Complaints-To: abuse@tornevall.net X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: <5b1ad377-7f6f-4fdc-9fe7-0aa95cd0bd73@o10g2000yqa.googlegroups.com> X-Validate-Post: http://news.tornevall.net/validate.php?trace=22e1005450f9eb35d356726f9772881d X-SpeedUI: 1738 X-Complaints-Italiano: Parlo la lingua non � italiano User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) X-Posting-User: 9b22bfe2855937f9b3faeec7cfc91295 Xref: g2news2.google.com comp.lang.ada:8863 Date: 2009-10-29T15:58:40-07:00 List-Id: Hibou57 (Yannick Duch�ne) wrote: > On 29 oct, 22:36, "Jeffrey R. Carter" > wrote: >> You're correct. But first, a probable error: > He is not at all : his implementation is returning an access to String > while the function is expected to return a String. "You're correct" referred to "I think that my code returns the pointer to the string and not the string." -- Jeff Carter "C's solution to this [variable-sized array parameters] has real problems, and people who are complaining about safety definitely have a point." Dennis Ritchie 25