Difference between revisions of "Export"
(Created) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Typescript Commands]] | [[Category:Typescript Commands]] | ||
− | Export is a typescript command that mirrors the functionality of the '''File→Export''' menu option in Analytica. | + | ==Export(expression, filename)== |
+ | Export is a typescript command that mirrors the functionality of the '''File → Export''' menu option in Analytica. | ||
Usage: <code>Export ''«expression»'' "''«filename»''"</code> | Usage: <code>Export ''«expression»'' "''«filename»''"</code> | ||
− | = | + | == File format == |
+ | Tables are written using the [[Export-Import data format]]. | ||
− | To export an edit table definition for the variable | + | Unindexed lists are written with one item per line. |
+ | |||
+ | == Examples == | ||
+ | To export an edit table definition for the variable <code>A</code>, where <code>A</code> is defined as a [[Table]]: | ||
:<code>Export Definition A "C:\Temp\A.txt"</code> | :<code>Export Definition A "C:\Temp\A.txt"</code> | ||
− | To export the PDF result of | + | To export the PDF result of <code>Y</code>: |
− | :<code>Export PDF(Y) "C:\temp\Y_pdf.txt</code> | + | :<code>Export PDF(Y) "C:\temp\Y_pdf.txt"</code> |
− | To export the Mid value of Y: | + | To export the [[Mid]] value of <code>Y</code>: |
:<code>Export Y "C:\temp\Y_result.txt"</code> | :<code>Export Y "C:\temp\Y_result.txt"</code> | ||
or | or | ||
:<code>Export Mid(Y) "C:\temp\Y_result.txt"</code> | :<code>Export Mid(Y) "C:\temp\Y_result.txt"</code> | ||
− | = | + | == See Also == |
− | |||
− | |||
− | |||
− | |||
− | |||
− | = See Also = | ||
− | |||
* [[Export-Import data format]] | * [[Export-Import data format]] | ||
* [[WriteExportFile]] (note: future -- does not exist yet) | * [[WriteExportFile]] (note: future -- does not exist yet) | ||
* [[ReadExportFile]] | * [[ReadExportFile]] | ||
* [[Import]] command | * [[Import]] command | ||
+ | * [[Import and Export data]] |
Latest revision as of 17:56, 1 June 2016
Export(expression, filename)
Export is a typescript command that mirrors the functionality of the File → Export menu option in Analytica.
Usage: Export «expression» "«filename»"
File format
Tables are written using the Export-Import data format.
Unindexed lists are written with one item per line.
Examples
To export an edit table definition for the variable A
, where A
is defined as a Table:
Export Definition A "C:\Temp\A.txt"
To export the PDF result of Y
:
Export PDF(Y) "C:\temp\Y_pdf.txt"
To export the Mid value of Y
:
Export Y "C:\temp\Y_result.txt"
or
Export Mid(Y) "C:\temp\Y_result.txt"
See Also
- Export-Import data format
- WriteExportFile (note: future -- does not exist yet)
- ReadExportFile
- Import command
- Import and Export data
Comments
Enable comment auto-refresher