Mercurial > hg > octave-lyh
view scripts/miscellaneous/ans.m @ 6090:ee50f74d1dd7
[project @ 2006-10-25 21:08:53 by jwe]
author | jwe |
---|---|
date | Wed, 25 Oct 2006 21:10:56 +0000 |
parents | 25da9a7d5f6d |
children | 8b0cfeb06365 |
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