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

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


FilledSmallSquare Splice["file"] splices Mathematica output into an external file. It takes text enclosed between <* and *> in the file, evaluates the text as Mathematica input, and replaces the text with the resulting Mathematica output.

FilledSmallSquare Splice["infile", "outfile"] processes text from the file infile, and writes output into outfile.

FilledSmallSquare Splice["file"] takes files with names of the form and writes output in files with names name.x.

FilledSmallSquare Text in the input file not enclosed between <* and *> is copied without change to the output file.

FilledSmallSquare The default format for Mathematica output is determined by the extension of the input file name:

FilledSmallSquare The following options for Splice can be used:

FilledSmallSquare You can use pipes instead of files for input and output to Splice.

FilledSmallSquare See Section 1.11.9.

FilledSmallSquare See also: RunThrough.

FilledSmallSquare New in Version 1.