Mercurial > hg > octave-max
view examples/helloworld.cc @ 14213:a022c04f68cc
Replace to-be-deprecated strmatch occurrences with alternate code.
* strread.m, textscan.m, pkg.m: Replace to-be-deprecated strmatch occurrences
with alternate code.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 18 Jan 2012 21:14:36 -0800 |
parents | db1f49eaba6b |
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 (); }