wwAPI::WriteProfileString

Writes a value into an INI file.

o.WriteProfileString(pcFileName,pcSection,pcEntry,pcValue)

Return Value

.T. or .F.

Parameters

pcFileName
Name of the file to write to

pcSection
Name of the section.

pcEntry
The name of the key to write to.

pcValue
The string value to write

Example

loAPI = CREATE("wwAPI")
pcTempPath = "d:\temp\wc"
loAPI.WriteProfileString(FULLPATH("wcdemo.ini"),"Main",;
                         "Path",pcTempPath)

See also:

Class wwAPI

© West Wind Technologies, 1996-2019 • Updated: 09/01/02
Comment or report problem with topic