<cIniFile>.Sections

<< Click to Display Table of Contents >>

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

<cIniFile>.Sections

 

Description

 

Return all keys names present into a section

 

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