] appends definitions associated with the specified symbol to a file.
"] appends definitions associated with all symbols whose names match the string pattern form.
`"] appends definitions associated with all symbols in the specified context.
] appends definitions associated with several objects.
Save uses FullDefinition to include subsidiary definitions.
Save writes out definitions in InputForm.
Save uses Names to find symbols whose names match a given string pattern.
You can use Save["
"] to write out the definition for the value of a symbol s itself.
See the Mathematica book: Section 1.11.1, Section 2.11.1.
See also: PutAppend, Get, DumpSave.
Here is a definition for a function f and an assignment for the parameter c. We then save the definition of f in the file tempf and clear the two definitions.
The file contains both the definition of f and the definition of c on which f depends. You can reinstate the definitions you saved by reading back the file tempf with Get (short form <<).
f[x_] = c + x^3
c = 17
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.