@David: Nice little tutorial.

What always inrigued me: does anybody know how these functions work, with respect to the .ini file?
I mean that:
If I write a new key to a section of an existing file, is the file completely rewritten then? Must-of somehow, I think, because it's a sequential text file.
And if I read entries from the file I might read them in any unpredictable order, so: is the file then scanned (opened read and closed) for any entry I read?
Sorry. Just curiousity.