KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
As noted elsewhere , you can list all user-defined symbols with this: Names["Global`*"] But I'd like to find just my global variables (I'm in the middle of some hairy debugging), not my function definitions. Something like this is close: Select[Names["Global`*"], Head@Symbol[#]=!=Symbol && Head@Symbol[#]=!=Function&] But that misses variables whose value is a symbol (perhaps I have x = Pi ). I could probably beat that thing into submission but maybe there's a cleaner, more direct way?
Tags (comma-separated)
Save Edits
Cancel