May be it would be safer to read the list of sections with INI.ReadSections
and then delete each section with INI.EraseSection ?
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal