Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-07

INI file handling

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Rolf Grunsky
Show quoted text 6 lines
2) Do you know of programs for parsing configuration files of the style of WIN.INI? is any of these included within the FPC distributions? (I can't find any nor in units.pdf neither in the 'packages' at http://www.freepascal.org/packages/packages.html). Aitor

TurboPower has (had) a very nice unit for handling these. The code was an extra with the Asych package. As far as I know it was freely distributable. I didn't see their old ftp page when I looked at their site just now but it might still be available. It would need to be rewritten to remove the ObjectProfessional stuff (mostly linked list stuff.) If you can't find it I can probably find a copy here somewhere. I used it quite a bit in some programs.

Just looked and found it. I don't want to post it to the list -- it screws up the digests. Let me know where I should send it. It will have to be changed to remove the
TurboPower units. It uses OpString and OpRoot from ObjectProfessional.

Cheers
Rolf Grunsky

RGrunskyAtSympaticoDotCa Truth in her dress finds facts too tight. In fiction she moves with ease. Rabinranath Tagore