view examples/helloworld.cc @ 16062:cc5a7d1233f3 stable rc-3-6-4-2

bump version for 3.6.4-rc2 * configure.ac (AC_INIT): Version is now 3.6.4-rc2. (OCTAVE_RELEASE_DATE): Now 2013-02-11. (OCTAVE_COPYRIGHT): Now 2013.
author John W. Eaton <jwe@octave.org>
date Mon, 11 Feb 2013 16:22:26 -0500
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 ();
}