Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6384
| From | Armand Tamzarian <mike.honeychurch@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Keeping track of variables used in Mathematica |
| Date | 2011-11-11 10:09 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j9is89$8ij$1@smc.vnet.net> (permalink) |
| References | <j9ge4n$opm$1@smc.vnet.net> |
On Nov 10, 10:56 pm, Mark <big.d...@att.net> wrote: > Hello community: > > Does Mathematica have a command that will output or compute a list of cus= tom variables assigned and used in a current notebook / Mathematica session= ? > > If so, what is the command / expression? > Thanks in advance > Mark This Names["Global`*"] will give you a list of all global variables defined in your session. If you have created variables in a different context you would have to sub that context in the expression. The fact that a variable has been defined doesn't mean that it is being used though. If getting a list of variables *used* within your notebook is really what you want then you could take the global list and scan your notebook using e.g. Cases but I'll leave that for now. Mike
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Keeping track of variables used in Mathematica Mark <big.dog1@att.net> - 2011-11-10 11:56 +0000 Re: Keeping track of variables used in Mathematica Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-11-11 10:09 +0000 Re: Keeping track of variables used in Mathematica David Bailey <dave@removedbailey.co.uk> - 2011-11-12 12:38 +0000
csiph-web