Mathematica 9 is now available
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: [mg88721] Re: Display commands in a package
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Wed, 14 May 2008 06:04:39 -0400 (EDT)
  • Organization: University of Bergen
  • References: <g01bs1$l2t$1@smc.vnet.net> <g03v4a$bom$1@smc.vnet.net> <g07gv0$8sn$1@smc.vnet.net> <g0908n$ku0$1@smc.vnet.net> <g0btaj$o7s$1@smc.vnet.net>

Jerry wrote:
> Szabolcs Horv=C3=A1t wrote:
>> Jerry wrote:
>>> David Park wrote:
>>>> You can do the following:
>>>>
>>>> << BarCharts`
>>>>
>>>> ?BarCharts`*
>>>>
>>> Thank you for the info but I can't get this to work on my
>>> V6.02 XP machine.
>>>
>>> With a fresh kernel this works ok - no error messages.
>>> << BarCharts`
>>>
>>> But in response to this line
>>> ?BarCharts`*
>>>
>>> I get:
>>>
>>> Syntax::sntxf: "?" cannot be followed by "BarCharts`*".
>>>
>>> Syntax::tsntxi: "BarCharts`*" is incomplete; more input is
>>> needed.
>>>
>>> Syntax::sntxi: Incomplete expression; more input is needed.
>>>
>>> Do you have any thoughts on why my machine won't respond
>>> correctly to this? Thanks.
>>>
>> Sincerely, I have no idea.  Try

Just to clarify: I thought you were asking about listing symbols in a 
package, and _not_ loading a package.

I made a mistake here.  Instead of

>>
>> << "BarCharts`*"

I meant

? "BarCharts`*"

which lists all symbols in the BarCharts context.

>>
>> or
>>
>> Information["BarCharts`*"]
>>
>> instead.
>>
> Thank you for the suggestion but << "BarCharts`*" didn't
> work either. But I stumbled into a line that does work:
> 
> Needs["BarCharts`"]
> 
> This is just one of the peculiar things about my
> installation; no idea why commands others use don't work
> here. Thanks again.
> 


  • Prev by Date: Expression manipulation
  • Next by Date: Re: issues with unit package
  • Previous by thread: Re: Display commands in a package
  • Next by thread: Re: 2 domain PDE, NDSolve