<cIniFile>.GetKey

<< Click to Display Table of Contents >>

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

<cIniFile>.GetKey

 

Description

 

Return a key value giving section/key name pair

 

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