Re: comments in a key file



On 8/14/07, Tshepang Lekhonkhobe <tshepang gmail com> wrote:
> Looking here:
> http://developer.gnome.org/doc/API/2.0/glib/glib-Key-value-file-parser.html
>
> under the section describing differences between .ini files and key
> files I find this:
> * Key files allow only comments before the first group.
>
> I saw a typical key file and found comments could be put anywhere. Am
> I missing anything?

This means that you can't have a key that's outside of a group.
Windows .ini files allow keys that are ungrouped and appear before the
first group of the file.  It probably would be better phrased as

"No keys are allowed before the first group name, only comments."



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]