Mercurial > hg > octave-nkf
diff scripts/io/strread.m @ 10793:be55736a0783
Grammarcheck the documentation from m-files.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 18 Jul 2010 20:35:16 -0700 |
parents | 95c3e38098bf |
children | 693e22af08ae |
line wrap: on
line diff
--- a/scripts/io/strread.m +++ b/scripts/io/strread.m @@ -15,18 +15,21 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} {[@var{a}, @dots{}] =} strread (@var{str}) -## @deftypefnx {Function File} {[@var{a}, @dots{}] =} strread (@var{str}, @var{format}) +## @deftypefn {Function File} {[@var{a}, @dots{}] =} strread (@var{str}) +## @deftypefnx {Function File} {[@var{a}, @dots{}] =} strread (@var{str}, @var{format}) ## @deftypefnx {Function File} {[@var{a}, @dots{}] =} strread (@var{str}, @var{format}, @ ## @var{prop1}, @var{value1}, @dots{}) ## Read data from a string. ## ## The string @var{str} is split into words that are repeatedly matched to the -## specifiers in @var{format}. The first word is matched to the first specifier, -## the second to the second specifier and so forth. If there are more words than +## specifiers in @var{format}. The first word is matched to the first +## specifier, +## the second to the second specifier and so forth. If there are more words +## than ## specifiers, the process is repeated until all words have been processed. ## -## The string @var{format} describes how the words in @var{str} should be parsed. +## The string @var{format} describes how the words in @var{str} should be +## parsed. ## It may contain any combination of the following specifiers: ## @table @code ## @item %s @@ -41,7 +44,8 @@ ## Parsed word corresponding to the first specifier are returned in the first ## output argument and likewise for the rest of the specifiers. ## -## By default, @var{format} is @t{"%f"}, meaning that numbers are read from @var{str}. +## By default, @var{format} is @t{"%f"}, meaning that numbers are read from +## @var{str}. ## ## For example, the string ##