WLJS LogoWLJS Notebook

PersistentValue

PersistentValue["name"] represents the persistent value associated with the key "name".

  • PersistentValue["name", loc] represents the persistent value associated with name stored in persistence location loc.
  • PersistentValue["name", {loc1, ...}] represents the persistent value associated with name at the first of the locations loci at which it occurs.

Examples

PersistentValue["mykey"] = 42
PersistentValue["mykey"]

Please visit the official Wolfram Language Reference for more details.

On this page