changeset 24544:e891b6dd7e35 stable

doc: Use '...' rather than deprecated '\' for line continuation (bug #52828). * diffeq.txi: Replace '\' for line continuation outside of double-quoted string with '...' in example code.
author Rik <rik@octave.org>
date Sun, 07 Jan 2018 07:47:11 -0800
parents 59d080a90f17
children ba8b828ee4f2
files doc/interpreter/diffeq.txi
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/diffeq.txi	Thu Jan 04 11:23:12 2018 -0800
+++ b/doc/interpreter/diffeq.txi	Sun Jan 07 07:47:11 2018 -0800
@@ -74,7 +74,7 @@
 
   xdot = zeros (3,1);
 
-  xdot(1) = 77.27 * (x(2) - x(1)*x(2) + x(1) \
+  xdot(1) = 77.27 * (x(2) - x(1)*x(2) + x(1) ...
             - 8.375e-06*x(1)^2);
   xdot(2) = (x(3) - x(1)*x(2) - x(2)) / 77.27;
   xdot(3) = 0.161*(x(1) - x(3));
@@ -101,7 +101,7 @@
 
 @example
 @group
-t = [0, logspace(-1, log10(303), 150), \
+t = [0, logspace(-1, log10(303), 150), ...
         logspace(log10(304), log10(500), 150)];
 @end group
 @end example