Mercurial > hg > octave-avbm
changeset 11147:a81994607ca0
document textscan and textread
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 23 Oct 2010 02:29:35 -0400 |
parents | 69b2f237060e |
children | c9ec943ebe65 |
files | doc/ChangeLog doc/interpreter/io.txi scripts/ChangeLog scripts/io/strread.m |
diffstat | 4 files changed, 18 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2010-10-23 John W. Eaton <jwe@octave.org> + + * interpreter/io.txi (Simple File I/O): Document textscan and + textread. + 2010-10-23 Ben Abbott <bpabbott@mac.com> * interpreter/strings.txi: Add @DOCSTRING(strread).
--- 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
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2010-10-23 John W. Eaton <jwe@octave.org> + + * io/strread.m: Docstring fixes. + 2010-10-23 John W. Eaton <jwe@octave.org> * io/is_valid_file_id.m: Ensure that FID is a scalar before
--- 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