Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6321 > unrolled thread
| Started by | Mark <big.dog1@att.net> |
|---|---|
| First post | 2011-11-10 11:56 +0000 |
| Last post | 2011-11-12 12:38 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
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
| From | Mark <big.dog1@att.net> |
|---|---|
| Date | 2011-11-10 11:56 +0000 |
| Subject | Keeping track of variables used in Mathematica |
| Message-ID | <j9ge4n$opm$1@smc.vnet.net> |
Hello community: Does Mathematica have a command that will output or compute a list of custom variables assigned and used in a current notebook / Mathematica session? If so, what is the command / expression? Thanks in advance Mark
[toc] | [next] | [standalone]
| From | Armand Tamzarian <mike.honeychurch@gmail.com> |
|---|---|
| Date | 2011-11-11 10:09 +0000 |
| Message-ID | <j9is89$8ij$1@smc.vnet.net> |
| In reply to | #6321 |
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
[toc] | [prev] | [next] | [standalone]
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Date | 2011-11-12 12:38 +0000 |
| Message-ID | <j9lpbr$lgg$1@smc.vnet.net> |
| In reply to | #6321 |
On 10/11/2011 11:56, Mark wrote: > Hello community: > > Does Mathematica have a command that will output or compute a list of custom variables assigned and used in a current notebook / Mathematica session? > > If so, what is the command / expression? > Thanks in advance > Mark > I suggest you look up the help on $NewSymbol. David Bailey http://www.dbaileyconsultancy.co.uk
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web