view examples/helloworld.cc @ 18812:6e2b1de8348e stable

only show directories in dialog box for setting new octave directory * main_window.cc (browse_for_directory): use option QFileDialog::ShowDirsOnly for the dialog
author Torsten <ttl@justmail.de>
date Sun, 25 May 2014 19:20:54 +0200
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 ();
}