Skip to main content
added 113 characters in body
Source Link
Ajasja
  • 13.8k
  • 3
  • 47
  • 105

You can do

ClearAll[Evaluate[$Context <> "*"]]

Or switch the context to be unique to each group of cells.¸

Example menu setting

Depending on your needs you can also use Quit[], which will terminate the kernel, therbye clearing everything.

You can do

ClearAll[Evaluate[$Context <> "*"]]

Or switch the context to be unique to each group of cells.¸

Example menu setting

You can do

ClearAll[Evaluate[$Context <> "*"]]

Or switch the context to be unique to each group of cells.¸

Example menu setting

Depending on your needs you can also use Quit[], which will terminate the kernel, therbye clearing everything.

Source Link
Ajasja
  • 13.8k
  • 3
  • 47
  • 105

You can do

ClearAll[Evaluate[$Context <> "*"]]

Or switch the context to be unique to each group of cells.¸

Example menu setting