Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

webMathematica and contexts - self answered!

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51216] webMathematica and contexts - self answered!
  • From: flip phillips <flip at skidmore.edu>
  • Date: Fri, 8 Oct 2004 02:55:27 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I swear I did RTFM, alas, my brain didn't keep the whole part about 
subcontexts in mind.

In normal Mathematica file:

Needs["Human`"]

In webMathematica file:

Needs["Human`"]
Needs["Human`Being`"]
Needs["Human`Diagnose`"]

I needed to explicitly 'Needs' the subpackages. I also needed to make 
sure the context was properly specified in the MathLink executable.

I'd think there would be a more automatic way (esp in light of the 
DeclarePackage[] mechanism) but I'm sure there is a principled reason 
why...

So thanks to all who responded, especially me, who read the manual 
again and found what what I should have remembered the first time :) I 
submit this for the archives in case someone else fails to absorb.


  • Prev by Date: Re: Variance of sample and whole dataset
  • Next by Date: Need Help: 1st order nonlinear differential equation
  • Previous by thread: Re: Re: Constraints to parameters in FindFit?
  • Next by thread: Need Help: 1st order nonlinear differential equation