<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > INI (Text INI Files) > INI Module Classes > cIniFile > <cIniFile> Methods > <cIniFile>.SetKey |
Description
Set a key value giving section/key name pair.
Syntax
s = <cIniFile>.SetKey (sSection, sKey, sValue)
Returns
String
Parameters
Name |
Type |
Optional |
Meaning |
sSection |
String |
No |
Section name |
sKey |
String |
No |
Key name |
sValue |
String |
Yes |
Value to assign to key inside section |
Remarks
If section/key does not exist they will be created.
If the file does not exist, it will be created by writing the section/key pair.
Restrictions
See also
Examples