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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,46295b30ce38047c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-03 14:30:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newspeer.monmouth.com!newsfeed.mathworks.com!btnet-peer0!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Ada Configuration API for Unix and Windows Date: Tue, 3 Dec 2002 22:29:13 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host213-123-151-198.in-addr.btopenworld.com X-Trace: knossos.btinternet.com 1038954553 4138 213.123.151.198 (3 Dec 2002 22:29:13 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Tue, 3 Dec 2002 22:29:13 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:31395 Date: 2002-12-03T22:29:13+00:00 List-Id: "Stephen Leake" wrote in message news:uadjmvl9m.fsf@nasa.gov... > 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'm guessing but it could be to ensure the user has a second look and doesn't get their 'keys' and 'values' the wrong way round (as both would be strings)... ...or it could just be an oversight! :-)