Mercurial > hg > octave-nkf
view examples/helloworld.cc @ 12847:619c1895e3e0
codesprint: Add tests for swapbytes.m
* swapbytes.m: Add 1 test and 2 input validation checks.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 16 Jul 2011 15:31:26 -0700 |
parents | db1f49eaba6b |
children | be41c30bcb44 |
line wrap: on
line source
#include <octave/oct.h> DEFUN_DLD (helloworld, args, nargout, "Hello World Help String") { int nargin = args.length (); octave_stdout << "Hello World has " << nargin << " input arguments and " << nargout << " output arguments.\n"; return octave_value_list (); }