changeset 14034:026b44b195b3 stable

doc: Demonstrate multiple calling convention usage in introduction intro.txi : Demonstrate multiple calling convention usage in introduction
author Rik <octave@nomad.inbox5.com>
date Sun, 11 Dec 2011 22:54:49 -0800
parents dfbf6a49847c
children 3889c3eecaf0
files doc/interpreter/intro.txi
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/intro.txi	Sun Dec 11 22:15:48 2011 -0800
+++ b/doc/interpreter/intro.txi	Sun Dec 11 22:54:49 2011 -0800
@@ -562,7 +562,9 @@
 
 Here is a description of an imaginary function @code{foo}:
 
-@deftypefn {Function} {} foo (@var{x}, @var{y}, @dots{})
+@deftypefn  {Function} {} foo (@var{x})
+@deftypefnx {Function} {} foo (@var{x}, @var{y})
+@deftypefnx {Function} {} foo (@var{x}, @var{y}, @dots{})
 The function @code{foo} subtracts @var{x} from @var{y}, then adds the
 remaining arguments to the result.  If @var{y} is not supplied, then the
 number 19 is used by default.