changeset 9810:7c211d0091d9

intwarning doc fix
author John W. Eaton <jwe@octave.org>
date Wed, 11 Nov 2009 20:13:38 -0500
parents 965487e00282
children c657c056240d
files scripts/ChangeLog scripts/miscellaneous/intwarning.m
diffstat 2 files changed, 12 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Wed Nov 11 17:52:14 2009 -0500
+++ b/scripts/ChangeLog	Wed Nov 11 20:13:38 2009 -0500
@@ -1,3 +1,7 @@
+2009-11-11  John W. Eaton  <jwe@octave.org>
+
+	* miscellaneous/intwarning.m: Doc fix.
+
 2009-11-11  John W. Eaton  <jwe@octave.org>
 
 	* plot/stairs.m (__stairs__): Correct nargin check.  New demos.
--- a/scripts/miscellaneous/intwarning.m	Wed Nov 11 17:52:14 2009 -0500
+++ b/scripts/miscellaneous/intwarning.m	Wed Nov 11 20:13:38 2009 -0500
@@ -25,10 +25,9 @@
 ##
 ## @table @asis
 ## @item "query"
-## The state of the Octave integer conversion and math warnings is
-## queried.  If there is no output argument, then the state is printed.
-## Otherwise it is returned in a structure with the fields "identifier"
-## and "state".
+## With an output argument, return the current state of the integer
+## conversion and math warnings.  With no output arguments, print the
+## current state.
 ##
 ## @c Set example in small font to prevent overfull line
 ## @smallexample
@@ -42,16 +41,11 @@
 ## @end smallexample 
 ##
 ## @item "on"
-## Turn integer conversion and math warnings "on".  If there is no output
-## argument, then nothing is printed.  Otherwise the original state of
-## the state of the integer conversion and math warnings is returned in
-## a structure array.
-##
-## @item "off"
-## Turn integer conversion and math warnings "on".  If there is no output
-## argument, then nothing is printed.  Otherwise the original state of
-## the state of the integer conversion and math warnings is returned in
-## a structure array.
+## @itemx "off"
+## Turn integer conversion and math warnings on (or off).  If there is
+## no output argument, then nothing is printed.  Otherwise the original
+## state of the state of the integer conversion and math warnings is
+## returned in a structure array.
 ## @end table
 ##
 ## The original state of the integer warnings can be restored by passing