Legacy Documentation

Mathematica 9 (2012)

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

Low-Level File Operations

Mathematica provides efficient system-independent direct access to all aspects of files of any size.

ReferenceReference

File Opening & Closing

OpenRead ▪ OpenWrite ▪ OpenAppend ▪ CreateTemporary ▪ Close

File Options

Options ▪ SetOptions ▪ CharacterEncoding ▪ PageWidth ▪ BinaryFormat

Streams

Streams ▪ OutputStream ▪ InputStream ▪ StringToStream

Reading & Writing

Read ▪ ReadList ▪ Write ▪ WriteString

Byte, Number specify data to read

Character ▪ Record ▪ Word ▪ Real ▪ String ▪ Expression

RecordSeparators, WordSeparators specify data delimiters

TokenWords ▪ NullWords ▪ NullRecords ▪ RecordLists

Seeking in Streams

Skip ▪ Find ▪ StreamPosition ▪ SetStreamPosition

Binary Data »

BinaryRead ▪ BinaryReadList ▪ BinaryWrite ▪ ...

Stream Methods »

DefineInputStreamMethod ▪ DefineOutputStreamMethod ▪ ...

ja zh