How to | Suppress the Output of a Computation
Often you need to perform intermediate steps in a calculation but have no need to see the results. By suppressing the output you save memory to store the notebook and may even save formatting time. You will also be able to see the important parts of the notebook more easily.
You can suppress output in the Wolfram Language by placing a semicolon (;) at the end of the line:
myVariable = 3myVariable = 3;You can also use ; to condense multiple lines into a single line. The output here is 2 since only the output of the last statement, b=2, is displayed:
a = 1;b = 2Use ; at the end to stop any output:
a = 1;b = 2;Using ; to chain commands extends to any number:
a = 1;b = 2;c = 3;d = 4