Importing and Exporting Data
Volume 2, Issue 3
In many cases, your program's data will come from external sources,
not from within Mathematica. This article describes how to import
data into Mathematica by reading a file or prompting the user for
input, and also how to write output to a disk file in a form that can be
read by other applications. Much of the material is taken from the tutorial
book Mathematica: A Practical Approach (Prentice-Hall, 1992).