Initialize

Initialize[sym]

initializes the symbol sym from persistent values on the default persistence path.

Initialize[sym,{loc1,}]

initializes the symbol sym from persistent values on the persistence path {loc1,}.

Initialize["patt"]

initializes all variables matching the string pattern "patt".

Details and Options

Examples

open allclose all

Basic Examples  (1)

Set an initialization value for a variable:

In[1]:=
Click for copyable input
Out[1]=

Initialize the variable from the persistent value:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

Options  (1)

Properties & Relations  (1)

See Also

InitializationObjects  InitializationValue  PersistenceLocation

Introduced in 2017
(11.2)