MathGroup Archive 1999

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

Search the Archive

?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16095] ?
  • From: Mitch Stonehocker <derivado at campus.ccm.itesm.mx>
  • Date: Thu, 25 Feb 1999 08:24:55 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,
In the context of a larger process (in a Module[] for example) I want to
see what the global/local definition of a variable.  I have tried the
following ideas.

In[1]:=temp=a+b

Out[1]=a+b

In[2]:=?temp
"Global`temp"
temp = a + b

In[3]:=Print[temp]
a+b

IIn[4]:=Print[?temp]
Syntax::"bktmcp":
    "Expression \"\!\(Print[\(? temp]\)\)\" has no closing
\"\!\(\"]\"\)\".\!\
\(\"\"\)"
Print[?temp]

In[4]:=c=?temp
"Global`temp"
temp = a + b

In[5]:=Print[c]
Null

Any other ideas?
Thanks for the help,
Mitch Stonehocker
Mexico City




  • Prev by Date: Re: Forms Interface?
  • Next by Date: Mathematica and Java
  • Previous by thread: Re: How can I plot for array variable?
  • Next by thread: RE: ?