Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: listing user defined, independent variables

  • To: mathgroup at
  • Subject: [mg96796] RE: [mg96752] listing user defined, independent variables
  • From: "Jose Luis Gomez" <jose.luis.gomez at>
  • Date: Wed, 25 Feb 2009 04:03:11 -0500 (EST)
  • References: <>


The Mathematica command ValueQ[] might be useful for you. For example if you
start a new Mathematica and define:


After that, if you evaluate ValueQ[a] you obtain True, while the evaluation
of ValueQ[b] gives False.


-----Mensaje original-----
De: Paul Ellsmore [mailto:paul.ellsmore at] 
Enviado el: Martes, 24 de Febrero de 2009 04:44
Para: mathgroup at
Asunto: [mg96752] listing user defined, independent variables



I have a notebook in which there are over 1300 variables (symbols) defined.
The vast majority of these are dependent variables. I can get a list of them
all with Names["Global`*"], but what I really want is a list of only the
independent variables. Is there any obvious way to do this? Mathematica must
"know" which variables are functions of other symbols, so I was hoping that
there would be an "attribute" of a dependent variable that I could use as a
filter on Names[]. Any thoughts? I am using V5.1.






Dr. Paul A. Ellsmore


Nanion Limited

Oxford Centre for Innovation

Mill Street


United Kingdom



Tel: +44 (0) 1865 811175

Fax: +44 (0) 1865 248594


  • Prev by Date: Re: newbie: can't Manipulate ListPlot of recurrence
  • Next by Date: MathLink message handler not set by default
  • Previous by thread: listing user defined, independent variables
  • Next by thread: Re: listing user defined, independent variables