Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1992
*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 1992

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

Search the Archive

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





  • 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