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,7db300de5361ec09 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-30 18:58:05 PST Path: archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!ppp-1-54.cvx1.telinco.NET!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Init file package avail? Date: Fri, 30 Nov 2001 23:14:51 -0000 Message-ID: <9u9gvr$762e7$1@ID-25716.news.dfncis.de> References: NNTP-Posting-Host: ppp-1-54.cvx1.telinco.net (212.1.136.54) X-Trace: fu-berlin.de 1007175484 7539143 212.1.136.54 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:17264 Date: 2001-11-30T23:14:51+00:00 List-Id: This may be redundant, but have you considered keeping your configuration data in a database? Your program would then retrieve this data using an appropriate database interface. The advantages of this approach is that you then have all the data management facilities of a database system to bring to bear on the configuration data. This could make it significantly easier to enter, to print (report on), to query (e.g. to check for errors), to manipulate (e.g. update computing certain changes), to backup, and so on. The disadvantages are fairly obvious: you need a database system (deployable on your targets); you need to know (learn) how to use (and program) the database system; you need to have an Ada interface to it; and so on. One other thing I would recommend is to 'pot' your configuration code (e.g. in a library package) in such a way that switching to a database implementation (or a different file format, or whatever) won't require changes to your main code (only to the config package body). Yet another thought is the use of a 'Comma Separated Variable-length' (CSV) file format. -- Best wishes, Nick Roberts "Paul F. Pearson" wrote in message news:c1655c76.0111301354.6a4455e5@posting.google.com... > Is there a package available to handle reading in from an > intialization file? Preferrably, I'd like one that handles sections > ...