Re: QROMB and parameters [message #34041] |
Thu, 13 February 2003 07:15 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mikko Inkinen (mikko.inkinen@fmi.fi) writes:
> I would like know what is the best way of using a function with
> parameters when integrating with QROMB. I tryed to save parameters in
> procedure (SAVE,a,b,FILENAME='a_b.txt') and restore them in function
> (restore,'a_b.txt') where a and b are used, but this doesn't seem to
> work as it should.
>
> What is the best and recommended practise to handle this quite simple
> thing with IDL?
I think a COMMON block is what you are looking for.
You might also investigate how our resident math guru,
Craig Markwardt, handles this sort of thing:
http://cow.physics.wisc.edu/~craigm/idl/math.html
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|