The WriteIni function writes an entry in the specified INI file.
An INI file is easy to manage when external data have to be shared by other scripts. WriteIni function accesses directly the desired data without dealing with write pointers, End Of File character, record separator character, etc.
ret=WriteIni(<filename>, <section>, <item>, <value>)
<filename>, string, name of the ini file. If the path is not specified, the file is searched in the Windows folder.
<section>, string, section where to write. If the <section> does not exist, it is created.
<item>, string, item where to write. If the <item> does not exist, it is created.
<value>, string. It contains the data to write in the INI file.