$PersistenceBase

$PersistenceBase

gives the default persistence location at which to store new values assigned to PersistentValue objects.

Details

Examples

open allclose all

Basic Examples  (1)

The default location where new persistent values are stored:

Change the value to the kernel session location for the duration of a kernel session:

Scope  (1)

Specify a persistence location using its short name:

Specify a persistence location using PersistenceLocation:

Specify an alternate local location by giving the base directory as second argument:

Properties & Relations  (1)

The default location of a new persistent object is given by $PersistenceBase:

Introduced in 2017
 (11.1)