MathGroup Archive 1992

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

Search the Archive

Re: Listing the contents of context


> From:   IN%"sean at atp.biochem.su.oz.au"
> To:     IN%"mathgroup at yoda.physics.unc.edu"
> Subj:   Listing the contents of context
>
> I would like to generate a list which contains the heads of 
> all the functions and symbols defined in any Mma context.
> I've tried playing around with the output of 
>       ?contextname`*
> but I haven't been very successful in manipulating it into a list.

Mma has a built-in function, Names, that will do just what you want:
Names["contextname`*"]
(see p. 385)

-- Todd Gayley
-- University of Arizona
-- tgayley at ccit.arizona.edu





  • Prev by Date: Listing the contents of context
  • Next by Date: primitive Unix notebooks
  • Previous by thread: Listing the contents of context
  • Next by thread: primitive Unix notebooks