MathGroup Archive 2003

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

Search the Archive

Re: loading packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42165] Re: loading packages
  • From: Paul Abbott <paul at physics.uwa.edu.au>
  • Date: Sat, 21 Jun 2003 02:49:40 -0400 (EDT)
  • Organization: The University of Western Australia
  • References: <bcmoa1$slg$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <bcmoa1$slg$1 at smc.vnet.net>,
 "David Park" <djmp at earthlink.net> wrote:

> You absolutely have to load the package first! 

Actually this is not true. Instead you can just load the package stubs 
using

   << Graphics`

This will cause the appropriate Graphics package to be loaded as 
required. This approach is often more useful than loading a specific 
package.

> It is also generally better to use Needs statements than << statements. They
> can be reevaluated without causing any problems. 

This is only true and required if the package itself has not been 
written correctly. Re-loading a package _should_ work properly.

Cheers,
Paul

-- 
Paul Abbott                                   Phone: +61 8 9380 2734
School of Physics, M013                         Fax: +61 8 9380 1014
The University of Western Australia      (CRICOS Provider No 00126G)         
35 Stirling Highway
Crawley WA 6009                      mailto:paul at physics.uwa.edu.au 
AUSTRALIA                            http://physics.uwa.edu.au/~paul


  • Prev by Date: Re: "Sloppy Union"? (Union of a list with *nearly* equ
  • Next by Date: Re: solve equation and domains
  • Previous by thread: RE: loading packages
  • Next by thread: Re: Re: loading packages