Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

Re: equ. of 'ls' in 'Context' ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg4809] Re: equ. of 'ls' in 'Context' ?
  • From: vvs124 at rsphy1.anu.edu.au (Victoria Steblina)
  • Date: Fri, 20 Sep 1996 01:12:35 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

At 10:16 9/16/96, Andrei Constantinescu wrote:

>The next question would now be: is there any possibility
>of getting the information in a object (i.e. a List) ?
>This seems a little bit trickier as Math doesn't give a
>ny output on the Information question :
>
>In[4]:= ?`t400*
>t400     t400a3p  t400a53p t400a54p t400b53p t400c54p
>
>In[4]:=
>
>Regards,
>
> Andrei


here is a rough and ready way... You'll need to use Names though:

In[10]:= a=1;
         b=2;
         c=3;

         Names["`*"]

Out[13]= {a, b, c}

In[14]:= Do[ info = "?"<>ToString[ %[[i]] ];
             ToExpression @ info, {i, Length[%]} ]

         Global`a

         a = 1
         Global`b

         b = 2
         Global`c

         c = 3

Hope it helps

Cheers,
Vicki



==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Need help running Mathematica for Windows
  • Next by Date: Re: functional code
  • Previous by thread: Re: equ. of 'ls' in 'Context' ?
  • Next by thread: Re: equ. of 'ls' in 'Context' ?