MathGroup Archive 2003

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

Search the Archive

Re: Re: loading packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42190] Re: [mg42165] Re: loading packages
  • From: Selwyn Hollis <selwynh at earthlink.net>
  • Date: Sat, 21 Jun 2003 20:57:08 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On Saturday, June 21, 2003, at 02:49  AM, Paul Abbott wrote:

> 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.

Excellent tip!

>
>> 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.
>

Good point. The Needs vs. << issue has always been an unfortunate 
confusion factor. Hopefully future versions will make Needs obsolete.

-----
Selwyn Hollis
http://www.math.armstrong.edu/faculty/hollis


  • Prev by Date: Re: matching conditions in PDE
  • Next by Date: RE: RE: Find a dood function for fitting data
  • Previous by thread: Re: Re: loading packages
  • Next by thread: Re: Re: Re: loading packages