Algosim documentation: ClearHistory


Clears the entire command history or removes the result object from a particular item in the command history.



ClearHistory() clears the kernel’s entire internal array of command records.

ClearHistory(i) removes the result object from the ith record, if any. i may be negative in which case it counts from the most recent entry in the array.

See also