up previous next
variable containing the last result
is a top-level SYSTEM VARIABLE containing the last result computed
but not assigned. It is the CoCoA equivalent to GAP's
When CoCoA evaluates a standalone expression
, the result is assigned to
the system variable named
(and then printed as if in a println
command). You may use
in expressions just like any other variable.
/**/ 1+1; -- standalone expression ==> result is saved in "It".
/**/ X := 17; -- assignment is not a standalone expression, "It" is unchanged