This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Save

Save["filename", symbol]
appends definitions associated with the specified symbol to a file.
Save["filename", "form"]
appends definitions associated with all symbols whose names match the string pattern form.
Save["filename", "context`"]
appends definitions associated with all symbols in the specified context.
Save["filename", {object1, object2, ...}]
appends definitions associated with several objects.
  • Save uses Names to find symbols whose names match a given string pattern.
  • You can use Save["filename", "s"] to write out the definition for the value of a symbol s itself.
New in 1 | Last modified in 3