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

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

Search the Archive

Re: repeated usage of packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg67552] Re: repeated usage of packages
  • From: albert <awnl at arcor.de>
  • Date: Fri, 30 Jun 2006 04:15:06 -0400 (EDT)
  • References: <e7vl4k$so4$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

> calling a function which is defined in a already loaded package I get
> perfect results. Calling the fuction a second time with different values
> for the arguments I get a result which does not coincide with the result
> obtained from the function, if the latter arguments are used as the
> initial ones.
> 
> The same happens even after replicating the original package with another
> name and calling the two different packages and calculating the therein
> defined two different packages which coincide with respect to their
> content.
> 
> Does anyone have any hint?

not really, it looks like somehow the call to the function changes some
internal state. There are obviously thousands of ways how a function could
achieve this, but if it is undesired I would guess it is an error in the
package. Which package are your talking about? Something you wrote
yourself? Then it would be best to send the relevant part of the package
file so we can have a look at it. If you manage to extract the minimal code
fragment that shows the unwanted behaviour your chances to get a fast
answer will increase a lot...

cheers,

albert


  • Prev by Date: Re: NDolve + ParametricPlot
  • Next by Date: Re: Problem with LaplaceTransform and InverseLaplaceTransform
  • Previous by thread: Re: repeated usage of packages
  • Next by thread: Re: repeated usage of packages