MathGroup Archive 2002

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

Search the Archive

Is it possible to access internal variables?

  • To: mathgroup at
  • Subject: [mg34705] Is it possible to access internal variables?
  • From: "Arny" <someone at somewhere.sometime>
  • Date: Sat, 1 Jun 2002 04:29:19 -0400 (EDT)
  • Organization: University of California, Riverside
  • Sender: owner-wri-mathgroup at

Dear Newsgroup,

I am minimizing a function which only has real values between 1 and -1, most
of the time... occasionally its range is different and unknown, (but anyway
not far from 1 and -1).  I could write a routine using Check to catch errors
and then expand the range over which FindMinimum is allowed to search, but
since FindMinimum seems to be getting the appropriate values anyway - it
tells me the values in its error message -  I was wondering if there weren't
some way to get at those values and use them without bothering to write said
routine.  I was thinking of analysing 'MessageList' or '$MessageList', but
was thinking there might be some easier way.

Aren't variables within packages accessible via their long names, e.g.
`package`private`variablename or something like that?  Does anyone have any

Regards, and thanks again.


  Bernard Gress
  Department of Economics
  University of California, Riverside
  1150 University Ave.
  Riverside, CA 92521-0247
  Fax: (909) 787-5685
  Phone: (909) 778 9813
  ICQ: 9083461

  • Prev by Date: Cell Brackets (once more)
  • Next by Date: Programming an algebraic experiment
  • Previous by thread: Cell Brackets (once more)
  • Next by thread: Re: Is it possible to access internal variables?