Navigation:  ThinBASIC Modules > INI (Text INI Files) > INI Module Classes > cIniFile > <cIniFile> Methods >

<cIniFile>.SetKey

Previous pageReturn to chapter overviewNext page

 

Description

 

Set a key value giving section/key name pair.

 

Syntax

 

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

 

Restrictions

 

See also

 

Examples