clear#
Clear the REPL session.
Available in: REPL.
Syntax#
clear()
Arguments and behavior#
REPL only. Clears local parser values and stored submission history. Copy anything you want to keep before submitting clear(). Global definitions are supplied again when needed.
Example#
This command belongs to the REPL; it is not a math-cell command.
Open REPL, enter clear(), then submit. See Variables and REPL.