comparison doc/interpreter/basics.txi @ 10613:e103fb2182ce

use internal variable instead of warning state to control whether to allow non-integer ranges as indices
author John W. Eaton <jwe@octave.org>
date Fri, 07 May 2010 15:58:51 -0400
parents 8d20fb66a0dc
children 322f43e0e170
comparison
equal deleted inserted replaced
10612:09e244649f50 10613:e103fb2182ce
207 For compatibility with @sc{matlab}, set initial values for 207 For compatibility with @sc{matlab}, set initial values for
208 user preferences to the following values 208 user preferences to the following values
209 209
210 @example 210 @example
211 @group 211 @group
212 PS1 = ">> " 212 PS1 = ">> "
213 PS2 = "" 213 PS2 = ""
214 beep_on_error = true 214 allow_noninteger_range_as_index = true
215 confirm_recursive_rmdir = false 215 beep_on_error = true
216 crash_dumps_octave_core = false 216 confirm_recursive_rmdir = false
217 default_save_options = "-mat-binary" 217 crash_dumps_octave_core = false
218 fixed_point_format = true 218 default_save_options = "-mat-binary"
219 history_timestamp_format_string 219 fixed_point_format = true
220 = "%%-- %D %I:%M %p --%%" 220 history_timestamp_format_string = "%%-- %D %I:%M %p --%%"
221 page_screen_output = false 221 page_screen_output = false
222 print_empty_dimensions = false 222 print_empty_dimensions = false
223 @end group 223 @end group
224 @end example 224 @end example
225 225
226 @noindent 226 @noindent
227 and disable the following warnings 227 and disable the following warnings
228 @example 228 @example
229 @group 229 @group
230 Octave:abbreviated-property-match
230 Octave:fopen-file-in-path 231 Octave:fopen-file-in-path
231 Octave:function-name-clash 232 Octave:function-name-clash
232 Octave:load-file-in-path 233 Octave:load-file-in-path
233 @end group 234 @end group
234 @end example 235 @end example