IniFileWrite

Top  Previous  Next

Prototype

 

IniFileWrite (FileName, strSection, strKey, strValue)

 

Description

 

Sets a parameter of a section to a determined value inside a INI file.

 

Parameters

 

FileName: A string containing a valid path and filename for the INI file.

 

StrSection: string that represents the section of INI file to read.

 

StrKey: string that represents the parameter inside the section you need read.

 

StrValue: value to be given to the parameter.

 

Returned value

 

None.

 

Notes

 

None.

 

Example

 

// Write a value to ini file

IniFileWrite('mysettings.ini','Output','Dir','c:\temp\');