comparison scripts/testfun/assert.m @ 17178:d6499c14021c

doc: Periodic grammarcheck of documentation. * doc/interpreter/basics.txi, doc/interpreter/expr.txi, doc/interpreter/install.txi, doc/interpreter/java.txi, doc/interpreter/plot.txi, doc/interpreter/sparse.txi, doc/interpreter/vectorize.txi, libinterp/corefcn/cellfun.cc, libinterp/corefcn/debug.cc, libinterp/corefcn/file-io.cc, libinterp/corefcn/load-save.cc, libinterp/corefcn/matrix_type.cc, libinterp/corefcn/pr-output.cc, libinterp/parse-tree/oct-parse.in.yy, liboctave/numeric/LSODE-opts.in, scripts/image/imformats.m, scripts/image/imread.m, scripts/image/imwrite.m, scripts/miscellaneous/error_ids.m, scripts/miscellaneous/fileattrib.m, scripts/miscellaneous/mex.m, scripts/miscellaneous/mkoctfile.m, scripts/miscellaneous/warning_ids.m, scripts/prefs/prefdir.m, scripts/prefs/preferences.m, scripts/signal/fftfilt.m, scripts/strings/isstrprop.m, scripts/testfun/assert.m: Periodic grammarcheck of documentation.
author Rik <rik@octave.org>
date Sun, 04 Aug 2013 13:08:39 -0700
parents 333243133364
children afd235a206a2
comparison
equal deleted inserted replaced
17177:9ba57ed05207 17178:d6499c14021c
25 ## 25 ##
26 ## Produce an error if the specified condition is not met. @code{assert} can 26 ## Produce an error if the specified condition is not met. @code{assert} can
27 ## be called in three different ways. 27 ## be called in three different ways.
28 ## 28 ##
29 ## @table @code 29 ## @table @code
30 ## @item assert (@var{cond}) 30 ## @item assert (@var{cond})
31 ## @itemx assert (@var{cond}, @var{errmsg}, @dots{}) 31 ## @itemx assert (@var{cond}, @var{errmsg}, @dots{})
32 ## @itemx assert (@var{cond}, @var{msg_id}, @var{errmsg}, @dots{}) 32 ## @itemx assert (@var{cond}, @var{msg_id}, @var{errmsg}, @dots{})
33 ## Called with a single argument @var{cond}, @code{assert} produces an 33 ## Called with a single argument @var{cond}, @code{assert} produces an
34 ## error if @var{cond} is zero. When called with more than one argument the 34 ## error if @var{cond} is zero. When called with more than one argument the
35 ## additional arguments are passed to the @code{error} function. 35 ## additional arguments are passed to the @code{error} function.