Mercurial > octave-nkf
view scripts/miscellaneous/ans.m @ 5915:b2e1be30c8e9 ss-2-9-7
[project @ 2006-07-28 18:08:56 by jwe]
author | jwe |
---|---|
date | Fri, 28 Jul 2006 18:08:56 +0000 |
parents | 9ad09b44beba |
children | 25da9a7d5f6d |
line wrap: on
line source
## -*- texinfo -*- ## @defvr {Automatic Variable} ans ## The the most recently computed result that was not ## explicitly assigned to a variable. For example, after the expression ## ## @example ## 3^2 + 4^2 ## @end example ## ## @noindent ## is evaluated, the value returned by @code{ans} is 25. ## @end defvr ## FIXME -- we should be able to get formatted help for empty scripts, ## not just functions. function ans () endfunction