Navigation:  ThinBASIC Modules > AppConfig > cAppConfig class >

<cAppConfig> constructor

Previous pageReturn to chapter overviewNext page

 

Description

 

Instantiate a cAppConfig Object variable.

 

Syntax

 

'---Declare a new cAppConfig variable

Dim MyAppConfig As cAppConfig[(sFileName)]

'---Instantiate it as new object 

MyAppConfig = New cAppConfig[(sFileName)]

 

Alternative declaration in one single line

 

'---Declare a new cAppConfig object variable and instantiate it

Dim MyAppConfig As New cAppConfig[(sFileName)]

 

Returns

 

None.

 

Parameters

 

Name

Type

Optional

Meaning

sFileName

String

Yes

Name of an XML file.
XML file can be specified later using <cAppConfig>.Load

 

Remarks

 

Restrictions

 

See also

 

Examples

 

See cAppConfig example