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,345a8b767542016e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-18 12:34:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: memory leakages with Ada? Date: 18 Mar 2002 14:34:41 -0600 Organization: LJK Software Message-ID: References: <3c90af1e@news.starhub.net.sg> <3c91bfa3.1987537@news.demon.co.uk> <3C9629E3.8030109@home.com> <3C9645DD.4020006@mail.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1016483683 12253 192.135.80.34 (18 Mar 2002 20:34:43 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Mon, 18 Mar 2002 20:34:43 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:21424 Date: 2002-03-18T14:34:41-06:00 List-Id: In article <3C9645DD.4020006@mail.com>, Hyman Rosen writes: > Warren W. Gay VE3WWG wrote: >> The caller has equal convenience : >> declare >> UC : String := Uppercase("Take that!"); >> begin >> ... > to out parameters or to record members. And it will most > likely require an extra copy of the return value, since > it's difficult to construct a variable-size array in the > callers's frame. Construction of the variable-size array in the frame of the caller is what is done by the portion of Warren's post shown above.