Mercurial > hg > octave-lyh
comparison scripts/miscellaneous/symvar.m @ 9038:fca0dc2fb042
Cleanup documentation files stmt.texi and func.texi
Spellcheck
Style check (especially two spaces after period)
Info menu now uses @code macro when describing code statements such as while, for, if, etc.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sun, 22 Mar 2009 11:15:35 -0700 |
parents | e800c69ee467 |
children | 16f53d29049f |
comparison
equal
deleted
inserted
replaced
9037:4cb9f994dcec | 9038:fca0dc2fb042 |
---|---|
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {} symvar (@var{s}) | 20 ## @deftypefn {Function File} {} symvar (@var{s}) |
21 ## Identifies the argument names in the function defined by a string. | 21 ## Identifies the argument names in the function defined by a string. |
22 ## Common constant names such as @code{pi}, @code{NaN}, @code{Inf}, | 22 ## Common constant names such as @code{pi}, @code{NaN}, @code{Inf}, |
23 ## @code{eps}, @code{i} or @code{j} are ignored. The arguments that are | 23 ## @code{eps}, @code{i} or @code{j} are ignored. The arguments that are |
24 ## found are returned in a cell array of strings. If no variables are | 24 ## found are returned in a cell array of strings. If no variables are |
25 ## found then the returned cell array is empty. | 25 ## found then the returned cell array is empty. |
26 ## @end deftypefn | 26 ## @end deftypefn |
27 | 27 |
28 function args = symvar (s) | 28 function args = symvar (s) |
29 args = argnames (inline (s)); | 29 args = argnames (inline (s)); |