get permanent(a, b)
Group |
Returns the values with name a under context b that has been saved using the save permanent function.
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 returned. |
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 in the context of Lobster_data and value DWValue in the context of the profile with value ProfileValue.
Parameter a |
Parameter b |
Result |
MyOtherKey |
|
|
MyKey |
true |
ProfileValue |
MyKey |
false |
DWValue |