List all User-defined Variables & Functions in a Notebook in Mathematica

500 picture 500 · May 29, 2011 · Viewed 12.8k times · Source

Is there a way to list all the user-defined variables & function in a Notebook ?

I would like this for the comfort it brings to a notebook overview as well as to spot potential multiple use of a variable name (thus redefining it accidental)

Answer

Nasser picture Nasser · May 29, 2011

To find names in a context, say in the Global context, try

Names["Global`*"]

--Nasser