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