comparison doc/interpreter/io.txi @ 20076:dbf2418a46dd

Document expansion of escape sequences in single quotes (bug #44745). * io.txi: Note that all *printf functions expand escape sequences. * error.cc (Ferror, Fwarning): Note that escape sequences are expanded. * file-io.cc (Fprintf, Ffprintf, Fsprintf): Note that escape sequences are expanded. * regexp.cc (Fregexp, Fregexprep): Note that escape sequences are expanded.
author Rik <rik@octave.org>
date Tue, 07 Apr 2015 21:18:22 -0700
parents 4197fc428c7d
children 1f9ed81bd173
comparison
equal deleted inserted replaced
20075:055ad6fbc910 20076:dbf2418a46dd
390 The following functions are available for formatted output. They are 390 The following functions are available for formatted output. They are
391 modeled after the C language functions of the same name, but they 391 modeled after the C language functions of the same name, but they
392 interpret the format template differently in order to improve the 392 interpret the format template differently in order to improve the
393 performance of printing vector and matrix values. 393 performance of printing vector and matrix values.
394 394
395 Implementation Note: For compatability with @sc{matlab}, escape sequences in
396 the template string (e.g., @qcode{"\n"} => newline) are expanded even
397 when the template string is defined with single quotes.
398
395 @DOCSTRING(printf) 399 @DOCSTRING(printf)
396 400
397 @DOCSTRING(fprintf) 401 @DOCSTRING(fprintf)
398 402
399 @DOCSTRING(sprintf) 403 @DOCSTRING(sprintf)