Mercurial > octave
view scripts/miscellaneous/ans.m @ 6650:10da0f6d85c2 ss-2-9-11
[project @ 2007-05-22 06:48:18 by jwe]
author | jwe |
---|---|
date | Tue, 22 May 2007 06:48:18 +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