ClearHistory
Clears the entire command history or removes the result object from a particular item in the command history.
Syntax
-
ClearHistory() -
ClearHistory(i)-
iis an integer
-
Description
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.