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,6940dffbea0f2089 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Tue, 29 Apr 2008 11:55:04 +0200 From: Thomas Locke User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Dynamic allocation of named arrays References: <87abjdm3da.fsf@T40.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87abjdm3da.fsf@T40.i-did-not-set--mail-host-address--so-tickle-me> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4816f078$0$90266$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 77.212.116.206 X-Trace: news.sunsite.dk DXC=kI5N2YNZ16M2]0d4PBaK\5E[IK]KcSoP8OK@H@kCUDmHHZ?EQ@YG?9\n\[@YcNc@LkKo=O;YB`eM:jGdA X-Complaints-To: staff@sunsite.dk Xref: g2news1.google.com comp.lang.ada:21111 Date: 2008-04-29T11:55:04+02:00 List-Id: Kim Rostgaard Christensen wrote: > Hello > > I need an array that has both variable length key and value (strings) > that is dynamically allocated at run-time. > > I have looked at ada05's "Containers.Hashed_maps" but am missing a good > example on usage, and would like to use something more portable. > > It is for loading a standard config file into memory. > > Best Hello Kim, Maybe this will work: http://www.rosettacode.org/wiki/Creating_an_Associative_Array#Ada :o) Thomas