Skip to content

SetValue - cIniProcessor

Sets a value of ini data

Type: Procedure

Parameters

Parameter Type Description
sSection String Ini section to use
sKey String Ini key to set
sValue String Value to write to Ini data

Syntax

Procedure SetValue String sSection String sKey String sValue

Call Example

Send SetValue sSection sKey sValue

Description

Sets a value of ini data.

If a key with the provided section and name already exists. it will be updated, else it will be added. If the section does not exist, it will be created.

Note that this works on the ini data in memory, call ReadFromFile to load an ini file from disk and WriteToFile to apply the change.