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

<cIniFile>.GetKey

Previous pageReturn to chapter overviewNext page

 

Description

 

Return a key value giving section/key name pair

 

Syntax

 

Syntax

 

s = <cIniFile>.GetKey (sSection, sKey [, sDefaultValue] )

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

sSection

String

No

Section name

sKey

String

No

Key name

sDefaultValue

String

Yes

Optional default value if section/key pairs are not found

 

 

Remarks

 

Restrictions

 

See also

 

Examples