up previous next
2.2.9 The Variable It
When CoCoA evaluates an expression, the result is usually assigned to the special CoCoA variable named It.

Example
  1+1;
2
-------------------------------
  It;
2
-------------------------------
  It+1;
3
-------------------------------
  It;
3
-------------------------------
  X := 17;  -- "It" is not changed if there is no output
  It;
3
-------------------------------
  X+It;
20
-------------------------------