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,308a261188818cce X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny08.POSTED!c2bfcbcf!not-for-mail From: Ed Falis Subject: Re: Pointers explained? Newsgroups: comp.lang.ada Message-ID: References: <1185817996.143086.317990@g12g2000prg.googlegroups.com> <1185818189.689914.159900@x40g2000prg.googlegroups.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Pineapple News 0.9.13 [PLAID BETA], BeOS (Intel) 6.2.0 X-Program-URL: http://www.platinumball.net/pineapple/news/beos/ X-Registered-To: Edward Falis Date: Mon, 30 Jul 2007 19:04:51 GMT NNTP-Posting-Host: 72.93.106.35 X-Complaints-To: abuse@verizon.net X-Trace: trndny08 1185822291 72.93.106.35 (Mon, 30 Jul 2007 15:04:51 EDT) NNTP-Posting-Date: Mon, 30 Jul 2007 15:04:51 EDT Xref: g2news2.google.com comp.lang.ada:1273 X-Original-Bytes: 1369 Date: 2007-07-30T19:04:51+00:00 List-Id: shaunpatterson@gmail.com wrote: > It appears that the only way to get a Message_Class is by some where > in the > code using a "new" > > Is this assumption correct? No. If you allocate a Message object statically (in package data), you can do something like: X : aliased Specific_Message_Type; function Get_One return Message_Class is begin return X'Access; end Get_One;