[Lazarus] Why was XML format chosen for storing settings in Lazarus IDE?

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Jun 18 14:15:30 CEST 2010


On 18/06/2010, Marco van de Voort <marcov at stack.nl> wrote:
>
> The simple reason is that .ini is one level only, and XML has an infinite
> nesting depth.

Could you give a small code example of how you read/write values in a
nested hierarchy, or do you use some custom written component
(something like TRegFile, TINIFile)?

I personally don't like referencing a value via something like...

  GetXMLNode('\CompilerOptions\SomeTab\SomeValue').Text

If so, INI files could be used in exactly the same way (as my previous
post about Windows regedit showed).

-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/




More information about the Lazarus mailing list