Mercurial > hg > octave-nkf
diff src/pr-output.cc @ 3683:505f5c35a2c9
[project @ 2000-06-27 20:19:47 by jwe]
author | jwe |
---|---|
date | Tue, 27 Jun 2000 20:20:46 +0000 |
parents | 19e1ac7359fb |
children | 9d8306640373 |
line wrap: on
line diff
--- a/src/pr-output.cc +++ b/src/pr-output.cc @@ -1751,34 +1751,6 @@ } } -DEFUN (disp, args, , - "-*- texinfo -*-\n\ -@deftypefn {Built-in Function} {} disp (@var{x})\n\ -Display the value of @var{x}. For example,\n\ -\n\ -@example\n\ -disp (\"The value of pi is:\"), disp (pi)\n\ -\n\ - @print{} the value of pi is:\n\ - @print{} 3.1416\n\ -@end example\n\ -\n\ -@noindent\n\ -Note that the output from @code{disp} always ends with a newline.\n\ -@end deftypefn") -{ - octave_value_list retval; - - int nargin = args.length (); - - if (nargin == 1) - args(0).print (octave_stdout); - else - print_usage ("disp"); - - return retval; -} - static void init_format_state (void) {