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: 103376,5e53057e86953953 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!m44g2000hsc.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Question on initialization of packages Date: Tue, 17 Jun 2008 07:12:38 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3ef1e719-d0c3-459e-814a-c9a1c21e22e7@m44g2000hsc.googlegroups.com> References: <1pok6brk3yyxf$.ct5gwnf4g97p$.dlg@40tude.net> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1213711959 14975 127.0.0.1 (17 Jun 2008 14:12:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 17 Jun 2008 14:12:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m44g2000hsc.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:740 Date: 2008-06-17T07:12:38-07:00 List-Id: On Jun 17, 1:03=A0pm, Reinert Korsnes wrote: [snip] > Maybe a bit amataur, but down in the code I now have: > > =A0 =A0 =A0 =A0 =A0 =A0 =A0Node(i).Send_Stack :=3D Message_Stack_p.Empty_S= tack; > > (thanks to your suggestions here) > > Maybe I better could define a procedure "Empty_Stack(Send_Stack)" ? [snip] Absolutely "yes" if "Send_Stack" contains any pointers...unless you don't mind leaking memory... Cheers -- Martin