$PersistencePath

$PersistencePath

gives the default list of persistence locations at which to look for values assigned to PersistentSymbol objects.

Details

Examples

open allclose all

Basic Examples  (1)

The default search path for persistent values:

Set a new search path that includes the cloud location:

Properties & Relations  (1)

Create a complement of persistent symbols with key "v" at various locations:

Persistent values are by default searched on all locations given in $PersistencePath:

The first value found is returned:

With MergingFunction->Identity, all values found are returned in a list:

Specify an explicit list of locations to search for values:

Possible Issues  (1)

The "Installation" location is always added at the end of the search path:

Wolfram Research (2017), $PersistencePath, Wolfram Language function, https://reference.wolfram.com/language/ref/$PersistencePath.html.

Text

Wolfram Research (2017), $PersistencePath, Wolfram Language function, https://reference.wolfram.com/language/ref/$PersistencePath.html.

CMS

Wolfram Language. 2017. "$PersistencePath." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$PersistencePath.html.

APA

Wolfram Language. (2017). $PersistencePath. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$PersistencePath.html

BibTeX

@misc{reference.wolfram_2024_$persistencepath, author="Wolfram Research", title="{$PersistencePath}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/$PersistencePath.html}", note=[Accessed: 04-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$persistencepath, organization={Wolfram Research}, title={$PersistencePath}, year={2017}, url={https://reference.wolfram.com/language/ref/$PersistencePath.html}, note=[Accessed: 04-November-2024 ]}