- --- In email@example.com, "Jamal Mazrui" <Jamal.Mazrui@f...>
> Does anyone know of minimal requirements for a .ini file to beloaded by
> the ProgIniLoad command?The minimum contents of any useful INI file are:
A "section", a "key", and a "KeyValue".
A section is any name or numbers (spaces are allowed) surrounded by
A "key" is the identifier to the left of the equal-sign.
A "KeyValue" is anything to the right of the equal-sign. A lack of any
characters on the right-side of the equal-sign is still a valid
"KeyValue" (At least as Windows deals with it, I can't say if NoteTab
makes a distinction.)
In practice, an INI file can be completely empty. (Again, as far as
Windows in general is concerned.) A call to read a value from an empty
INI will just say "can't find that section/key/value". (You are
responsible for how your code will deal with that eventuality.)