INI_GetSectionKeyList

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > INI (Text INI Files) >

INI_GetSectionKeyList

 

Description

 

Retrieves a string containing the list of all keys present in a section of an initialization file.

 

Syntax

 

s = INI_GetSectionKeyList(IniFileName, SectionName [, Separator])

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

IniFileName

String

No

Name of the INI file to load from

SectionName

String

No

Name of the INI section where to retrieve keys from

Separator

String

Yes

String separator to be used. If none is indicated $CRLF pairs will be used.

 

Remarks

 

Every key name is separated by a $CRLF (Carriage Return + Line Feed) separator if nothing is indicated.

Use PARSE$ and PARSECOUNT function to get specific section names.

 

Restrictions

 

See also

 

INI_GetKey, INI_GetSectionsList

 

Examples