Mercurial > hg > octave-nkf
changeset 16934:48f5b993b819
doc: Use parentheses around if, switch conditions in documentation.
* doc/interpreter/stmt.txi, doc/interpreter/vectorize.txi,
examples/@FIRfilter/subsref.m: Use parentheses around if, switch conditions in
documentation.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 09 Jul 2013 14:16:35 -0700 |
parents | e39f00a32dc7 |
children | a7b2fc7fe1a9 |
files | doc/interpreter/stmt.txi doc/interpreter/vectorize.txi examples/@FIRfilter/subsref.m |
diffstat | 3 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/stmt.txi +++ b/doc/interpreter/stmt.txi @@ -259,7 +259,7 @@ @example @group -switch @var{expression} +switch (@var{expression}) case @var{label} @var{command_list} case @var{label} @@ -288,7 +288,7 @@ @example @group A = 7; -switch A +switch (A) case @{ 6, 7 @} printf ("variable is either 6 or 7\n"); otherwise