save map(a,b,c)
Group |
Saves map(s) a under key b with a lifetime of c minutes. Return value true in case of success.
The maps are stored permanently and can also be read out by other profiles.
You can restore the maps with function restore map(a,b).
Note: The concept is not intended for mass data.
Parameter Description
Parameter |
Description |
a |
Names of the maps (comma-separated). |
b |
The key under which the maps are stored. |
c |
Lifetime in minutes. No value or 0 means forever. |
Example
Create 2 maps with add to map(key a, value b, name of map c, [skip empty d]).
Save those maps permanently with save map(a,b,c).
Delete all maps with clear all maps().
Restore the maps with restore map(a,b) (you could also do this in another profile).
The restored maps are now available again in this profile.