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,bc4137777a63bff X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!texta.sil.at!newsfeed.inode.at!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Help needed for ada package Date: Wed, 27 Jul 2005 19:13:41 +0200 Organization: Cablecom Newsserver Message-ID: <1147957.TDR6gMQjrf@linux1.krischik.com> References: <1122305318.728942.304120@f14g2000cwb.googlegroups.com> <2OudnZo-iL1aN3jfRVn-iQ@comcast.com> <1122475184.849564.159870@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: 84-73-3-177.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1122486315 29347 84.73.3.177 (27 Jul 2005 17:45:15 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Wed, 27 Jul 2005 17:45:15 +0000 (UTC) User-Agent: KNode/0.9.0 Xref: g2news1.google.com comp.lang.ada:3805 Date: 2005-07-27T19:13:41+02:00 List-Id: strictly_mk@hotmail.com wrote: > type Society_Ptr is access all Society; > > Pointer : Society_Ptr; Are you sure you need a pointer. Most Ada compilers won't have a problem creating the even a large array in static memory: http://en.wikibooks.org/wiki/Programming:Ada:Types:array Do you really need "access all" http://en.wikibooks.org/wiki/Programming:Ada:Types:access#Access_vs._access_all And last not least: there is no "new" to be seen anywhere: http://en.wikibooks.org/wiki/Programming:Ada:Types:access#Creating_object_in_a_storage_pool Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com