annotate 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 |
rev |
line source |
5799
|
1 ## -*- texinfo -*- |
|
2 ## @defvr {Automatic Variable} ans |
7001
|
3 ## The most recently computed result that was not |
5799
|
4 ## explicitly assigned to a variable. For example, after the expression |
|
5 ## |
|
6 ## @example |
|
7 ## 3^2 + 4^2 |
|
8 ## @end example |
|
9 ## |
|
10 ## @noindent |
|
11 ## is evaluated, the value returned by @code{ans} is 25. |
|
12 ## @end defvr |
|
13 |
|
14 ## FIXME -- we should be able to get formatted help for empty scripts, |
|
15 ## not just functions. |
5931
|
16 ##function ans () |
|
17 ##endfunction |