NullRecords

NullRecords
is an option for Read and related functions which specifies whether null records should be taken to exist between repeated record separators.

DetailsDetails

  • With the default setting NullRecords->False, repeated record separators are treated like single record separators.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Create a stream of records:

In[1]:=
Click for copyable input
Out[1]=

Read its records:

In[2]:=
Click for copyable input
Out[2]=

Close the stream:

In[3]:=
Click for copyable input
Out[3]=

Read the same stream including all zero length records:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Introduced in 1991
(2.0)