Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: Q: make function from Developer` available in package

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23510] Re: Q: make function from Developer` available in package
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 16 May 2000 02:44:57 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <8fihgi$544@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Developer is not realy a package, it just appends "Developer`" to your
$ContextPath
but the code is alredy in the kernel. It is an aditional context and you
may
use full names like

Developer`PackedArrayQ[]


Or append it 
by 

$saveContext=$ContextPath
AppendTo[$ContextPath,"Developer`"]


(* some code that use the developer functions *)


$ContextPath=$saveContext

Hope that helps
  Jens

Klaus Duellmann wrote:
> 
> problem: I'm using the SparseLinearSolve-function from Developer-area
> which I make available in all notebooks by putting
> <<Developer`
> in my init.m.
> 
> However, I need this function as well in a self-written Mathematica
> package.
> Thus I tried
> 
> BeginPackage["test`"];
> Needs["Developer`"]
> Begin[`Private`"];
> ...
> 
> and an error-message pops up:
> "Needs::nocont : Context Developer` was not created when Needs was
> evaluated"
> 
> Using 'Get' instead of 'Needs' there is no error message,
> but: SparseLinearSolve is not available either inside the package.
> 
> My question: Why not?
> 
> Any advice is much appreciated.
>


  • Prev by Date: Re: approximation by rationals
  • Next by Date: Re: [Linux] A Mathematica Fonts problem
  • Previous by thread: Q: make function from Developer` available in package
  • Next by thread: Re: Q: make function from Developer` available in package