view examples/helloworld.cc @ 18838:0dae39867b2b

cleanup of tic and ticlabel code * scripts/plot/util/private/__go_draw_axes__.m (do_tics_1): Reorder manual and automatic tic mode and save two string comparisons.
author Stefan Mahr <dac922@gmx.de>
date Tue, 18 Mar 2014 20:59:04 +0100
parents 224e76250443
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 ();
}