input
Returns a previous input to the kernel.
Syntax
-
input(i)
-
i
is an integer
-
Description
If i > 0
, then input(i)
returns the i
th input given to the kernel during the current kernel session. If i < 0
, then input(i)
returns the i
th most recent input. i
cannot be zero.
Examples
5!
120
input(−1)
5!