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-29 12:44:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!kibo.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: A standard package for config files is needed Date: 29 May 2002 20:29:38 +0100 Organization: Pushface Sender: simon@smaug Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk X-NNTP-Posting-Host: pogner.demon.co.uk:62.49.19.209 X-Trace: news.demon.co.uk 1022701431 nnrp-14:3727 NO-IDENT pogner.demon.co.uk:62.49.19.209 X-Complaints-To: abuse@demon.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: archiver1.google.com comp.lang.ada:24960 Date: 2002-05-29T20:29:38+01:00 List-Id: 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. 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.