After some long computations, I obtain
%//ExpandAll
Out[0]
I want to know the meaning of Out[0]. Does this mean my expression % is zero?
No, this does not mean your answer is 0. If you look at the documentation of Out then it says that: Out[n]
is a global object that is assigned to be the value produced on the n-th output line. Out[0] is undefined since you always start evaluation at line 1. The result you get is most probably caused by a statement of the form % as a first evaluation or %% when only 1 line was evaluated or %0.
To get rid of such results try to avoid using the % operation and assign results of calculations to symbols. So, e.g., instead of writing
(x+1)^2
Expand[%]
use
p = (x+1)^2;
Expand[p]
% in an interactive session with a notebook. Eventually when you know you want to do something with the result of a calculation you start assigning a variable as shown in this answer. But the issue you are seeing is explained here: your kernel quit during the long computation, so when you call % there is no previous output to refer to.
– Jason B.
Dec 06 '21 at 20:42