meta data for this page
  •  

ibec_ini_EraseSection

Erases an entire section of an INI file.

Description

Call ibec_ini_EraseSection to remove a section, all its keys, and their data values from an INI file. Section identifies the INI file section to remove. If a section cannot be removed, an exception is raised. ibec_ini_EraseSection only affects the in-memory copy of the INI file, not the copy on disk.

Syntax

  function ibec_ini_EraseSection(IniFile : variant; Section : string) : variant;