Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Splice

Usage

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.


Notes

Splice["infile", "outfile"] processes text from the file infile, and writes output into outfile.
Splice["file"] takes files with names of the form name.mx and writes output in files with names name.x.
• Text in the input file not enclosed between <* and *> is copied without change to the output file.
• The default format for Mathematica output is determined by the extension of the input file name:
name.mc CForm
name.mf FortranForm
name.mtex TeXForm
• The following options for Splice can be used:
Delimiters {"<*", "*>"} delimiters to search for
FormatType Automatic default format for Mathematica output
PageWidth 78 number of character widths per output line
• You can use pipes instead of files for input and output to Splice.
• See also: RunThrough.
• New in Version 1.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: