# HG changeset patch # User jwe # Date 831962051 0 # Node ID 3dc97364d58e232aaec6e2890c9124b97d7eb7d1 # Parent 420afeadbb45bea4e26a03007866b34eb92c2a9a [project @ 1996-05-13 04:34:11 by jwe] diff -r 420afeadbb45 -r 3dc97364d58e examples/hello.cc --- a/examples/hello.cc Mon May 13 04:29:02 1996 +0000 +++ b/examples/hello.cc Mon May 13 04:34:11 1996 +0000 @@ -88,7 +88,11 @@ // octave_stdout, so it will also end up going through the pager. for (int i = 0; i < nargin; i++) - retval (nargin-i-1) = args(i).print (); + { + octave_value tmp = args (i); + tmp.print (); + retval (nargin-i-1) = tmp; + } return retval; }