delete permanent(a, b)


Deletes a value with name a under context b that has been saved using the save permanent function. The result of the function is the value that has been deleted.

The values of b can be the following.


Value

Meaning

true

The value has been saved in the context of the profile.

false

The value has been saved in the context of Lobster_data.

If no entry with given name can be found, an empty string will be returned.

Description of Parameters


Parameter

Description

a

Name of the value to be deleted.

b

(optional) true or false to specify the context to be used. Default: false.


GUI


See section Constants (Administration) for system-wide permanent values.

See section Profile Values for profile-wide permanent values.

Examples


Defined are the two values, both with the name MyKey saved with context of Lobster_data and value DWValue and with context of the profile with value ProfileValue.


Parameter a

Parameter b

Result

MyOtherKey



MyOtherKey



MyKey

true

ProfileValue

MyKey

true


MyKey

false

DWValue

MyKey

false