MathGroup Archive 1998

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

Search the Archive

Re: loading packages-followup

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14448] Re: loading packages-followup
  • From: "Dale Horton" <daleh>
  • Date: Wed, 21 Oct 1998 03:32:44 -0400
  • Organization: Wolfram Research, Inc.
  • References: <703vqk$i23@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

1) This is by design. Mathematica will comment out all cells which are
not initialization cells (Cell|Cell Properties| Initialization Cell
from the menus).

2) If I understand correctly, you try putting a directory in
ProgrammingInMathematica and a package in tat directory.

You will need to load this with

<<ProgrammingInMathematica`Directory`Package`

-Dale

sean_ross_at_pl-04m3 at smtpgw1.plk.af.mil wrote in message
<703vqk$i23 at smc.vnet.net>...
>
>     This is in response to my earlier question about why packages I
>wrote
>     wouldn't load.  The answer is that code written in the 3.0.1
>FrontEnd
>     and Saved As Special:Package Format is commented out in the save
>     routine, thus all packages written in the front end and saved in
>what
>     appears to be the intended manner have an extra (* at the front of
>the
>     file and an extra *) at the end, effectively disabling the code.
>If
>     you remove these in a text editor, the package can be read in and
>     everything loads just fine.  I now have two more questions related
>to
>     this.
>
>     1) is this placing of extra (* and *) in packages by the
>     SaveAsSpecial:Package Format a "feature" or a "bug"?
>
>     2) The kernel knows to search the \ProgrammingInMathematica and the
>
>     \Utilities subdirectories of the ExtraPackages folder.  If I put my
>
>     own subdirectory in the ExtraPackages folder, the Kernel does not
>     search there.  Why?  I got around it by appending the path to the
>     $Path variable in the init.m, but I am still curious as to how the
>     Kernel knew it was supposed to search only those two subdirectories
>
>     but wouldn't search mine even though none of them was listed
>     explicitly in the $Path.
>
>     Please respond to rosss at plk.af.mil or seanross at worldnet.att.net as
>I
>     no longer subscribe to the mathgroup.
>
>     Thanks,
>
>     Sean Ross
>
>



  • Prev by Date: fractals
  • Next by Date: Re: FactorInteger
  • Previous by thread: Re: loading packages-followup
  • Next by thread: How to load user defined packages?