Message Boards Message Boards

0
|
3151 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How to obtain the list of all user variables created in a document

Posted 10 years ago

Hi, Can you help me to obtain the list of all variable declare (non-zero) in a document ? Thank you

POSTED BY: Marcel Pelletier
2 Replies

Thank you, this is what I want. Marcel.

POSTED BY: Marcel Pelletier

Hi. I'm not sure I understand the question completely. If you want to see what variables have been used in a session, evaluate:

Information["Global`*"]

or

Names["Global`*"]

These basically list what is in the Global context, which is the default context for where variables live.

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract