Mercurial > hg > octave-lyh
comparison scripts/miscellaneous/warning_ids.m @ 10821:693e22af08ae
Grammarcheck documentation of m-files
Add newlines between @item fields for readability.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 26 Jul 2010 21:25:36 -0700 |
parents | 1bf0ce0930be |
children | a4f482e66b65 |
comparison
equal
deleted
inserted
replaced
10820:c44c786f87ba | 10821:693e22af08ae |
---|---|
115 ## default, the @code{Octave:divide-by-zero} warning is enabled. | 115 ## default, the @code{Octave:divide-by-zero} warning is enabled. |
116 ## | 116 ## |
117 ## @item Octave:empty-list-elements | 117 ## @item Octave:empty-list-elements |
118 ## If the @code{Octave:empty-list-elements} warning is enabled, a | 118 ## If the @code{Octave:empty-list-elements} warning is enabled, a |
119 ## warning is issued when an empty matrix is found in a matrix list. | 119 ## warning is issued when an empty matrix is found in a matrix list. |
120 ## For example, | 120 ## For example: |
121 ## | 121 ## |
122 ## @example | 122 ## @example |
123 ## a = [1, [], 3, [], 5] | 123 ## a = [1, [], 3, [], 5] |
124 ## @end example | 124 ## @end example |
125 ## | 125 ## |
181 ## @group | 181 ## @group |
182 ## [ "f", 111, 111 ] | 182 ## [ "f", 111, 111 ] |
183 ## @result{} "foo" | 183 ## @result{} "foo" |
184 ## @end group | 184 ## @end group |
185 ## @end example | 185 ## @end example |
186 ## | |
186 ## elicits a warning if the @code{Octave:num-to-str} warning is | 187 ## elicits a warning if the @code{Octave:num-to-str} warning is |
187 ## enabled. By default, the @code{Octave:num-to-str} warning is enabled. | 188 ## enabled. By default, the @code{Octave:num-to-str} warning is enabled. |
188 ## | 189 ## |
189 ## @item Octave:precedence-change | 190 ## @item Octave:precedence-change |
190 ## If the @code{Octave:precedence-change} warning is enabled, Octave | 191 ## If the @code{Octave:precedence-change} warning is enabled, Octave |
217 ## | 218 ## |
218 ## @item Octave:str-to-num | 219 ## @item Octave:str-to-num |
219 ## If the @code{Octave:str-to-num} warning is enabled, a warning is printed | 220 ## If the @code{Octave:str-to-num} warning is enabled, a warning is printed |
220 ## for implicit conversions of strings to their numeric ASCII equivalents. | 221 ## for implicit conversions of strings to their numeric ASCII equivalents. |
221 ## For example, | 222 ## For example, |
223 ## | |
222 ## @example | 224 ## @example |
223 ## @group | 225 ## @group |
224 ## "abc" + 0 | 226 ## "abc" + 0 |
225 ## @result{} 97 98 99 | 227 ## @result{} 97 98 99 |
226 ## @end group | 228 ## @end group |
227 ## @end example | 229 ## @end example |
230 ## | |
228 ## elicits a warning if the @code{Octave:str-to-num} warning is enabled. | 231 ## elicits a warning if the @code{Octave:str-to-num} warning is enabled. |
229 ## By default, the @code{Octave:str-to-num} warning is disabled. | 232 ## By default, the @code{Octave:str-to-num} warning is disabled. |
230 ## | 233 ## |
231 ## @item Octave:string-concat | 234 ## @item Octave:string-concat |
232 ## If the @code{Octave:string-concat} warning is enabled, print a | 235 ## If the @code{Octave:string-concat} warning is enabled, print a |