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

INI_GetSectionsList

Previous pageReturn to chapter overviewNext page

 

Description

 

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

 

Syntax

 

s = INI_GetSectionsList(IniFileName)

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

IniFileName

String

No

Name of the INI file to load from

 

Remarks

 

Every section name is separated by a $CRLF (Carriage Return + Line Feed) separator.

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

 

Restrictions

 

See also

 

INI_GetKey, INI_GetSectionKeyList

 

Examples

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com