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

冷暖自知 提交于 2019-11-27 13:56:51

问题


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)


回答1:


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

Names["Global`*"]

--Nasser



来源:https://stackoverflow.com/questions/6166027/list-all-user-defined-variables-functions-in-a-notebook-in-mathematica

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!