MathGroup Archive 2008

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

Search the Archive

Re: How to open a Package

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88276] Re: How to open a Package
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Wed, 30 Apr 2008 04:25:42 -0400 (EDT)
  • Organization: University of Bergen
  • References: <fv6uhh$rjp$1@smc.vnet.net>

John Ertle Jr. wrote:
> What is the syntax of opening a package:
> 
> <<"c:\path\package.m"

If you mean loading the package, then only problem with the above syntax 
is that the backslashes were not escaped.  The proper syntax is

<<"c:\\path\\package.m"

> 
> Is the path able to be added so the package may be accessed.
> 

Take a look at $Path:

http://reference.wolfram.com/mathematica/ref/$Path.html


  • Prev by Date: Re: how to use ones(A)?
  • Next by Date: Re: locator snap
  • Previous by thread: Re: How to open a Package
  • Next by thread: Re: How to open a Package