App.Data.Del

<< Click to Display Table of Contents >>

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

App.Data.Del

 

Description

 

Delete a single key/data pair from App object.

 

Syntax

 

APP.Data.Del(sKey)[(Index1 [, Index2 [Index3]])]

 

Returns

 

None

 

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.Del("ConfigFileName")