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,FREEMAIL_FROM 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!local02.nntp.dca.giganews.com!nntp.trueband.net!news.trueband.net.POSTED!not-for-mail NNTP-Posting-Date: Tue, 29 Apr 2008 13:37:09 -0500 Date: Tue, 29 Apr 2008 13:37:12 -0500 From: DScott User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 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> <4816f078$0$90266$14726298@news.sunsite.dk> In-Reply-To: <4816f078$0$90266$14726298@news.sunsite.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-asnNbZRcdeZKyxFgfpb751BghPK3sv2SU3Tm5ZLR2irYBnFJjjKg56kOPnU1JOhodD2Qq1ig9jlV+zF!DsRW0cyx7XcXlUK8QsAYfdJ4m3l8qLZGBAUg0xCxSMwHl33lAMlCq0yoW24KoiBI+/2MG77fHqOn!gV1NjVt7O9biYjy6K/RLm9hV X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Xref: g2news1.google.com comp.lang.ada:21119 Date: 2008-04-29T13:37:12-05:00 List-Id: Thomas Locke wrote: > 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 What? Not advice_config.ads/adb? :) -- Fui et vidi experiri. =DSM=