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

Documentation / Mathematica / Built-in Functions / Input and Output / File Output /

Save

FilledSmallSquare Save["filename", symbol] appends definitions associated with the specified symbol to a file.

FilledSmallSquare Save["filename", "form"] appends definitions associated with all symbols whose names match the string pattern form.

FilledSmallSquare Save["filename", "context`"] appends definitions associated with all symbols in the specified context.

FilledSmallSquare Save["filename", , , ... ] appends definitions associated with several objects.

FilledSmallSquare Save uses FullDefinition to include subsidiary definitions.

FilledSmallSquare Save writes out definitions in InputForm.

FilledSmallSquare Save uses Names to find symbols whose names match a given string pattern.

FilledSmallSquare You can use Save["filename", "s"] to write out the definition for the value of a symbol s itself.

FilledSmallSquare See Section 1.11.1 and Section 2.12.1.

FilledSmallSquare See also: PutAppend, Get, DumpSave.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples