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

<cIniFile>.Sections

Previous pageReturn to chapter overviewNext page

 

Description

 

Return all keys names present into a section

 

Syntax

 

Syntax

 

There bare different syntax

 

Returns lIndex section name

s = <cIniFile>.Sections(lIndex)

 

Returns number of sections

n = <cIniFile>.Sections.Count

 

Returns list of sections names separated by sSeparator

s = <cIniFile>.Sections.List(sSeparator)

 

Returns

 

String or number depending from the syntax used

 

Parameters

 

Name

Type

Optional

Meaning

lIndex

Number

No

Number of section whose name must be returned

sSeparator

String

No

Separator, a character used to separate name into returned string

 

 

Remarks

 

Restrictions

 

See also

 

Examples