diff options
Diffstat (limited to 'demos/fortran_sum.dem.sce')
-rw-r--r-- | demos/fortran_sum.dem.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/demos/fortran_sum.dem.sce b/demos/fortran_sum.dem.sce new file mode 100644 index 0000000..de96506 --- /dev/null +++ b/demos/fortran_sum.dem.sce @@ -0,0 +1,16 @@ +// +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function demo_fortran_sum() + + mode(-1); + lines(0); + + disp("fortran_sum(3,4)"); + disp(fortran_sum(3,4)); + +endfunction + +demo_fortran_sum(); +clear demo_fortran_sum; + |