Mercurial > octave-nkf
diff doc/interpreter/external.txi @ 18369:4b32677b6229 stable
Rename Fortran example files from 'fort' prefix to 'fortran' prefix.
* examples/fortrandemo.cc, examples/fortransub.f: Renamed files.
* examples/fortdemo.cc, examples/fortsub.f: Deleted files.
* examples/Makefile.am, doc/interpreter/Makefile.am: Change build
system to use new file names.
* doc/interpreter/external.txi: Change documentation to reflect new names.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 24 Jan 2014 09:32:55 -0800 |
parents | d1e16bdb3958 |
children | f51c1498b9f3 |
line wrap: on
line diff
--- a/doc/interpreter/external.txi Fri Jan 24 09:11:01 2014 -0800 +++ b/doc/interpreter/external.txi Fri Jan 24 09:32:55 2014 -0800 @@ -1037,14 +1037,14 @@ given in the following example, where the C++ wrapper is @example -@EXAMPLEFILE(fortdemo.cc) +@EXAMPLEFILE(fortrandemo.cc) @end example @noindent and the Fortran function is @example -@EXAMPLEFILE(fortsub.f) +@EXAMPLEFILE(fortransub.f) @end example This example demonstrates most of the features needed to link to an @@ -1054,13 +1054,13 @@ @example @group -mkoctfile fortdemo.cc fortsub.f -[b, s] = fortdemo (1:3) +mkoctfile fortrandemo.cc fortransub.f +[b, s] = fortrandemo (1:3) @result{} b = 1.00000 0.50000 0.33333 s = There are 3 values in the input vector -[b, s] = fortdemo (0:3) -error: fortdemo: fortsub: divide by zero +[b, s] = fortrandemo (0:3) +error: fortrandemo: fortransub: divide by zero @end group @end example