[fpc-pascal]About GetOpts and configuration file parsing

Jonas Maebe jonas at zeus.rug.ac.be
Thu Jul 11 12:03:01 CEST 2002


On Thu, 11 Jul 2002, Aitor SantamarĂ­a Merino wrote:

> (1) Can I reconfigure GetOpts unit somehow in order to use the /
> character instead of - to start an option?

I don't think so. Afaik, it's a port from a GNU package and they always
use - and never /, even under Dos/Windows.

> (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).

There's a unit called inifiles in the FCL. It's not documented however and
personally, I've never used it.


Jonas





More information about the fpc-pascal mailing list