view examples/helloworld.cc @ 17425:9289bb0ff4dd

io.tst: fix for-loop upper bound after change 3856298f1ff8
author Andreas Weber <andy.weber.aw@gmail.com>
date Sat, 14 Sep 2013 11:19:25 +0200
parents be41c30bcb44
children
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 ();
}