Mercurial > octave-nkf
diff scripts/miscellaneous/inputname.m @ 5838:376e02b2ce70
[project @ 2006-06-01 20:23:53 by jwe]
author | jwe |
---|---|
date | Thu, 01 Jun 2006 20:23:54 +0000 |
parents | 55404f3b0da1 |
children | 93c65f2a5668 |
line wrap: on
line diff
--- a/scripts/miscellaneous/inputname.m Thu Jun 01 19:05:32 2006 +0000 +++ b/scripts/miscellaneous/inputname.m Thu Jun 01 20:23:54 2006 +0000 @@ -6,13 +6,11 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} inputname (@var{n}) -## -## Return the text defining n-th input to the function. -## +## Return the text defining @var{n}-th input to the function. ## @end deftypefn function s = inputname (n) - s = evalin ('caller', sprintf('deblank(argn(%d,:));', n)); + s = evalin ("caller", sprintf ("deblank (argn(%d,:));", n)); endfunction ## Warning: heap big magic in the following tests!!!