[Date Index] [Thread Index] [Author Index]
Is it possible to access internal variables?
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 suggestions? Regards, and thanks again. Bernard -- ___________________________________ Bernard Gress Department of Economics University of California, Riverside 1150 University Ave. Riverside, CA 92521-0247 Fax: (909) 787-5685 Phone: (909) 778 9813 BGRESS at MAIL.UCR.EDU http://csep.ucr.edu/staff/bernard/index.htm ICQ: 9083461