ibec_ini_WriteString

Writes a string value to an INI file.

Syntax

 function ibec_ini_WriteString(IniFile : variant; Section, Ident, Value : string) : variant;

Description

Call ibec_ini_WriteString to write a string value to an INI file.

Parameters

Sectionidentifies the section in the file that contains the key to which to write to.
Identis the name of the key for which to set a value.
Valueis the string value to write.

Please note that attempting to write a data value to a non-existent section or attempting to write data to a non-existent key are not errors. In these cases, ibec_ini_WriteString creates the section and key and sets its initial value to Value.

back to top of page
<< ibec_ini_ReadString | IBEBlock | ibec_ini_Clear >>