After using Macaulay 2 for a while, you may have stored data in several variables. The system also stores output values for you in output variables. You may wish to free the memory space occupied by that data, or you may simply wish to remind yourself where you stored a previously computed value.
We may use the command listUserSymbols to obtain a list of the user's symbols encountered so far.
i1 : ff = 20:4; hh = true; kk |
i4 : listUserSymbols |
The symbols are listed in chronological order, and the type of value stored under it is displayed.
We can clear the output symbols with clearOutput.
i5 : clearOutput |
i6 : listUserSymbols |
We can clear all the symbols with clearAll.
i7 : clearAll |
i8 : listUserSymbols |