Mercurial > octave-nkf
view scripts/miscellaneous/ans.m @ 7001:8b0cfeb06365
[project @ 2007-10-10 18:02:59 by jwe]
author | jwe |
---|---|
date | Wed, 10 Oct 2007 18:03:02 +0000 |
parents | 25da9a7d5f6d |
children | 93c65f2a5668 |
line wrap: on
line source
## -*- texinfo -*- ## @defvr {Automatic Variable} ans ## 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