diff doc/interpreter/basics.txi @ 14856:c3fd61c59e9c

maint: Use Octave coding conventions for cuddling parentheses in doc directory * OctaveFAQ.texi, basics.txi, container.txi, contrib.txi, diagperm.txi, diffeq.txi, dynamic.txi, errors.txi, eval.txi, expr.txi, func.txi, geometry.txi, interp.txi, intro.txi, numbers.txi, oop.txi, plot.txi, poly.txi, quad.txi, set.txi, sparse.txi, stmt.txi, testfun.txi, vectorize.txi, refcard.tex: Use Octave coding conventions for cuddling parentheses.
author Rik <octave@nomad.inbox5.com>
date Mon, 09 Jul 2012 17:00:46 -0700
parents 36f451642f79
children d8e3111b1890
line wrap: on
line diff
--- a/doc/interpreter/basics.txi
+++ b/doc/interpreter/basics.txi
@@ -1023,10 +1023,10 @@
 @group
 function countdown
   # Count down for main rocket engines 
-  disp(3);
-  disp(2);
-  disp(1);
-  disp("Blast Off!");  # Rocket leaves pad
+  disp (3);
+  disp (2);
+  disp (1);
+  disp ("Blast Off!");  # Rocket leaves pad
 endfunction
 @end group
 @end example
@@ -1046,19 +1046,19 @@
 @group
 function quick_countdown
   # Count down for main rocket engines 
-  disp(3);
+  disp (3);
  #@{
-  disp(2);
-  disp(1);
+  disp (2);
+  disp (1);
  #@}
-  disp("Blast Off!");  # Rocket leaves pad
+  disp ("Blast Off!");  # Rocket leaves pad
 endfunction
 @end group
 @end example
 
 @noindent
 will produce a very quick countdown from '3' to 'Blast Off' as the
-lines "@code{disp(2);}" and "@code{disp(1);}" won't be executed.
+lines "@code{disp (2);}" and "@code{disp (1);}" won't be executed.
 
 The block comment markers must appear alone as the only characters on a line
 (excepting whitespace) in order to be parsed correctly.