App.Data.Set

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Application functions > App > Data >

App.Data.Set

 

Description

 

Get data stored under key name into App object.

 

Syntax

 

s = APP.Data.Get(sKey)[(Index1 [, Index2 [Index3]])]

 

Returns

 

String data stored under skey name

 

Parameters

 

Name

Type

Optional

Meaning

sKey

String

No

Name of the key used to store data using APP.Data.Set

Attention: sKey is key sensitive

Index1

Number

Yes

Optional index 1

Index2

Number

Yes

Optional index 2

Index3

Number

Yes

Optional index 3

 

Remarks

 

Attention: sKey is key sensitive

 

Optionally programmer can indicate up to 3 indexes to store multiple values for the same sKey. More or less like a single or multi dimensional array.  

 

Restrictions

 

See also

 

App.Data.Free, APP.Data.Count, APP.Data.Del, APP.Data.Get, APP.Data.Exists, APP.Data.PHash, APP.Data.Set

 

Examples

 
App.Data.Get("ConfigFileName")

App.Data.Get("MyVar")(1,2,3)