Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Return a configuration node data giving configuration node sequence.

 

Syntax

 

Syntax

 

sKeyValue = <cAppConfig>.GetKey(sNode)[.Modifier[.Modifier]...]

 

Returns

 

String

 

Parameters

 

Name

Type

Optional

Meaning

sNode

String

No

configuration node sequence

Modifier


Yes

Nested modifiers can be specified to perform special actions.

Use one or more of the following modifiers:
 

Boolean
Will force return value to be a numeric boolean 0 (zero) or 1 (one) trying to interpret original value. For example if value stored in AppConfig file is %TRUE or TRUE or a numeric value > 0 then return value will be 1
 

ucase
Will force return value to be upper case string

 

lcase
Will force return value to be lower case string
 

IsPath
Force KeyValue to be considered as a local or UNC file path.
Will check returned keyValue will ends with a \
If not, it will be added at the right most before returning KeyValue
 

 

Remarks

 

Restrictions

 

See also

 

Examples

 

See cAppConfig example

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software