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

StructuredSelectionGet (modified)


FilledSmallSquareDumpSave["", symbol] writes definitions associated with a symbol to a file in internal Mathematica format.

FilledSmallSquareDumpSave["", "context`"] writes out definitions associated with all symbols in the specified context.

FilledSmallSquareDumpSave["", , , ... ] writes out definitions for several symbols or contexts.

FilledSmallSquareDumpSave["package`", objects] chooses the name of the output file based on the computer system used.

FilledSmallSquareDumpSave["file"] saves all definitions in the current session.

FilledSmallSquareDumpSave writes out definitions in a binary format that is optimized for input by Mathematica.

FilledSmallSquare Each file has a plain text header identifying its type and contents.

FilledSmallSquare Files written by DumpSave can be read by Get.

FilledSmallSquare Files written by DumpSave can only be read on the same type of computer system on which they were written.

FilledSmallSquareDumpSave will not preserve open stream and link objects.

FilledSmallSquare Files written by DumpSave conventionally have names that end with .mx.

FilledSmallSquareDumpSave["package`", ... ] writes a file with a name such as$SystemID/

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

FilledSmallSquareDumpSave["file"] will save the definitions for all symbols in the current session.

FilledSmallSquare You can typically read a dump file when you start Mathematica by using the initfile command-line option.

FilledSmallSquare See The Mathematica Book: Section 2.11.1.

FilledSmallSquare See also: Save, LinkWrite.

Further Examples

StructuredSelectionGet (modified)