This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

ReadPersistentStorage

ReadPersistentStorage(key): String

Read value from global persistent key-value storage.

Table 1. Parameters

key

String record key to lookup.

Return

Value referenced by key or null if key not exist.

>>> ReadPersistentStorage("key1")
value1
>>> ReadPersistentStorage("key2")
null
>>> WritePersistentStorage("key2", "value2")
>>> ReadPersistentStorage("key2")
value2