Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Display commands in a package

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88636] Re: Display commands in a package
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Sat, 10 May 2008 06:54:32 -0400 (EDT)
  • Organization: University of Bergen
  • References: <g01bs1$l2t$1@smc.vnet.net>

Budaoy wrote:
> In Mathematica, when I load a package, for instance <<Graphics`, in fact the
> system load many commands, but Mathematica doesn't display those commands in
> the package, how can I see them if I do not want to look into package
> document?
> 

The only way to see all symbols used in a package file is to open up the 
file with a text editor.

But if you only want the symbols from a _context_, then you can use 
Information[]:

(* Load Combinatorica package *)

<< Combinatorica`

(* List all symbols from the Combinatorica` context *)

? Combinatorica`*

Since most packages put all exported symbols in a single context, this 
will give what you need most of the time.


  • Prev by Date: Bug in Plot?
  • Next by Date: Re: tablename[[x]]= xth row, how to get xth column
  • Previous by thread: Re: Display commands in a package
  • Next by thread: Re: Display commands in a package