On Fri, Oct 13, 2017 at 2:48 AM, andy pugh <bodge...@gmail.com> wrote:
> On 13 October 2017 at 08:20, John Dammeyer <jo...@autoartisans.com> wrote: > > > There's no reason to not have an XML file (or larger database for that > matter) that includes min/max/default values along with several strings for > help information. > > Who will maintain this XML file? PnCConf uses XML files to store the > possible configurations for each card. The author ended up with an > almost full-time job keeping the data up-to-date The best solution is that the authors of the software that accepts the parameters each define the parameters they use. then the central database is maintained by scanning those definitions. This way the database if self maintained and kept up to data. It is never good to define something in two places. A central XML file is in effect keeping the definition in two places, once it it implicitly in the code that uses the parameter and again in the XML file Better to place the the entire definition in one source file. How to do this? Lots of ways, macro processor, function calls or specialized comments -- Chris Albertson Redondo Beach, California ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users