Qurak

Clear definitions for symbols and functions

Workflow 9 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
f[x_] := {x, x}

No output - this step sets something up for the next one.

Step 2
? f
Output
InformationData[<|ObjectType -> Symbol, Usage -> Global`f, Documentation -> None, OwnValues -> None, UpValues -> None, DownValues -> Information`InformationValueForm[DownValues, f, {f[x_] :> {x, x}}], SubValues -> None, DefaultValues -> None, NValues -> None, FormatValues -> None, Options -> None, Attributes -> {}, FullName -> Global`f|>]
Step 3
Clear[f]

No output - this step sets something up for the next one.

Step 4
? f
Output
Missing[UnknownSymbol, f]
Step 5
x = 2
Output
2
Step 6
Clear[x]

No output - this step sets something up for the next one.

Step 7
? x
Output
Missing[UnknownSymbol, x]
Step 8
Remove[x]

No output - this step sets something up for the next one.

Step 9
? x
Output
Missing[UnknownSymbol, x]

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client