To save a data table, send a Save message to the data table. Here are some examples:
注意:If you specify the filename with no path and have not set the default directory, the file is saved on your primary partition (Windows) or in your <username>/Documents folder (Macintosh). For details about setting the default directory, see “Relative Paths” on page 133 in the “Types of Data” chapter.
On Windows, saving with a .txt extension exports according to the Text Export preferences. On Macintosh, add Text as a second argument to the Save function, as follows:
If you plan to set the name of a data table and later send the Save message, you can just specify the name in a Save message.
To return to the most recently saved data table, send a Revert message to the data table.
dt << Revert();