Mercurial > hg > octave-nkf
diff src/help.cc @ 3361:4f40efa995c1
[project @ 1999-11-19 21:19:37 by jwe]
author | jwe |
---|---|
date | Fri, 19 Nov 1999 21:19:44 +0000 |
parents | d2e12e998a78 |
children | 36405da8e173 |
line wrap: on
line diff
--- a/src/help.cc +++ b/src/help.cc @@ -829,9 +829,22 @@ } DEFUN_TEXT (type, args, nargout, - "type NAME\n\ + "-*- texinfo -*-\n\ +\n\ +@deffn {Command} type options name @dots{}\n\ +Display the definition of each @var{name} that refers to a function.\n\ +\n\ +Normally also displays if each @var{name} is user-defined or builtin;\n\ +the @code{-q} option suppresses this behaviour.\n\ \n\ -display the definition of each NAME that refers to a function") +Currently, Octave can only display functions that can be compiled\n\ +cleanly, because it uses its internal representation of the function to\n\ +recreate the program text.\n\ +\n\ +Comments are not displayed because Octave's parser currently discards\n\ +them as it converts the text of a function file to its internal\n\ +representation. This problem may be fixed in a future release.\n\ +@end deffn") { octave_value_list retval; @@ -944,10 +957,11 @@ } DEFUN_TEXT (which, args, nargout, - "which NAME ...\n\ -\n\ -display the type of each NAME. If NAME is defined from an function\n\ -file, print the full name of the file.") + "-*- texinfo -*-\n\ +@deffn {Command} which name @dots{}\n\ +Display the type of each @var{name}. If @var{name} is defined from a\n\ +function file, the full name of the file is also displayed.\n\ +@end deffn") { octave_value_list retval;