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,47bc849aad30d586 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-31 09:26:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: A standard package for config files is needed Date: Fri, 31 May 2002 16:26:27 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1022862387 29132 129.241.83.82 (31 May 2002 16:26:27 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Fri, 31 May 2002 16:26:27 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:25095 Date: 2002-05-31T16:26:27+00:00 List-Id: On 29 May 2002 20:29:38 +0100, Simon Wright wrote: > Preben Randhol writes: > >> Just to clarify, we are talking about config files not the file >> format of files stored by a program. > > My current project has this problem (700 or so configurable variables > to be stored). > > We are contemplating an API like > > function Value (Identified_By : String) return String; > > and you get to use 'Value on the result (they are almost all numbers). :-) > We think that Identified_By might take the form > "/box/component/subcomponent/item" which is pretty XPath-like. Sounds ok > How we store the data internally or on Flash is no one else's > business! We may well use XML, it's not that verbose. Perhaps not > appropriate for the config file for your toaster, though. Of course. Preben