# HG changeset patch # User John W. Eaton # Date 1287815375 14400 # Node ID a81994607ca01a9f92e324629e5f126bd762bf87 # Parent 69b2f237060e9209e6334add5a177a85752a3de2 document textscan and textread diff --git a/doc/ChangeLog b/doc/ChangeLog --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2010-10-23 John W. Eaton + + * interpreter/io.txi (Simple File I/O): Document textscan and + textread. + 2010-10-23 Ben Abbott * interpreter/strings.txi: Add @DOCSTRING(strread). diff --git a/doc/interpreter/io.txi b/doc/interpreter/io.txi --- a/doc/interpreter/io.txi +++ b/doc/interpreter/io.txi @@ -219,6 +219,10 @@ @DOCSTRING(csvread) +@DOCSTRING(textread) + +@DOCSTRING(textscan) + @menu * Saving Data on Unexpected Exits:: @end menu diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2010-10-23 John W. Eaton + + * io/strread.m: Docstring fixes. + 2010-10-23 John W. Eaton * io/is_valid_file_id.m: Ensure that FID is a scalar before diff --git a/scripts/io/strread.m b/scripts/io/strread.m --- a/scripts/io/strread.m +++ b/scripts/io/strread.m @@ -69,9 +69,11 @@ ## [@var{a}, @var{b}, @var{c}] = strread (@var{str}, "%s %s %f"); ## @end example ## -## The behaviour of @code{strread} can be changed via properties @var{prop} -## @itemize @code -## @item "commentstyle": +## The behaviour of @code{strread} can be changed via property-value +## pairs. The following properties are recognized: +## +## @table @code +## @item "commentstyle" ## Parts of @var{str} are considered comments and will be skipped. ## @var{value} is the comment style and can be any of the following. ## @itemize