notebook — clear()

Description

The clear() method of the notebook object clears the output log of the active cell.

Signature

notebook.clear()
Scope
notebook
Family
display
Returns
none

Example

// display a log
notebook.log("Im a log");

// clear the log
notebook.clear();