Re: Listing the contents of context
- To: mathgroup at yoda.physics.unc.edu
- Subject: Re: Listing the contents of context
- From: TODD GAYLEY <TGAYLEY at ccit.arizona.edu>
- Date: Tue, 12 May 1992 17:44 MST
> 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