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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,46295b30ce38047c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-04 02:19:26 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!bnewspeer01.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.de.uu.net!not-for-mail Date: Wed, 04 Dec 2002 10:27:18 +0100 From: Ulrich Eckhardt Organization: Private at home User-Agent: Mozilla/5.0 (X11; U; Linux i686; en; Stable) Gecko/20020603 Beonex/0.8-stable X-Accept-Language: de, de-DE, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada Configuration API for Unix and Windows References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 1Cust211.tnt4.fft4.deu.da.uu.net X-Trace: 1038997165 read.news.de.uu.net 365 149.225.40.211 X-Complaints-To: abuse@de.uu.net Xref: archiver1.google.com comp.lang.ada:31407 Date: 2002-12-04T10:27:18+01:00 List-Id: Stephen Leake wrote: > Ulrich Eckhardt writes: > just a nit; "GPL" is a _license_, not a _copyright_. The copyright to Hi, thanks, i will have a look on this. > In an example, you have: > > Put(reg,To_Key("A_Key"),"A Value"); -- A Key in the default section > > Why is the conversion To_Key necessary? Surely it could be done by Put? I have decided to introduce special types for sections and values, so that the user can not accidentialy permute sections and keys or other unbounded strings, specialy when variables are used (and not simple string literals like in the example). Uli -- Ulrich Eckhardt http://www.uli-eckhardt.de