restore list()

This function restores a list a that had been (in any profile) permanently stored with function "save list()" after it has been deleted. Returns "true" in case of success.

Note: The concept is not intended for mass data.

Parameters


Parameter

Description

a

The key under which the lists were stored.

b

true, if the permanently stored lists are to be deleted after restoring, i.e. as a result the lists are only available in this profile and cannot be restored again. Default: false. Note: Memory management is the responsibility of the user. Please also note that this can be problematic when restarting jobs if the stored objects have already been deleted. Alternatively, see function " serialize map/list()".

Example


Create 2 lists with "add to list()".

Save those lists permanently with "save list()".

Delete all lists of this profile with "clear all lists()".

Restore the lists with "restore list()" (you could also do this in another profile).

The restored lists are now available again in this profile.