Hi Blake,
I think it would not be good to have everything in one file.
The reason is that this makes updates of the preferences file more
difficult. For example I could not change the file format if I needed to
and updates of a file that contains a lot of other information would
become awkward for the user.
I suggest that such information is put in a separate, per library, file
in the
same directory as the preferences file. If the lib is shipped with GNU
APL then
I can make sure that it will be installed with the lib
The tools for parsing such a file are already in place: sscanf() and
fgets() in FILE_IO.
/// Jürgen
On 07/14/2014 01:26 PM, Blake McBride wrote:
Greetings,
The preferences file contains name/value pairs. It would be nice to
be able to specify arbitrary name/value pairs that can be accessed
from within APL somehow. For example, let's say you store your
component files an a standard place, or you use a certain default SQL
database. It would be nice to be able to specify those default/global
values in the preferences file.
Thanks.
Blake