Re: IDL save files with programs and files [message #27801] |
Wed, 07 November 2001 11:09 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
robert.dimeo@nist.gov (Rob Dimeo) writes:
> Hi,
>
> How can I create a save file that consists of resolved routines, one
> of which requires a .PNG file? Ultimately I want to create a run-time
> version of the program so I'm not sure if Craig Markwardt's CMSVLIB
> routines would be applicable.
Hi Rob--
I'm not clear on what you are trying to do. Is your problem that you
want to store both variables and routines in the same save file?
This is possible. What you do is you save the routines first using
the normal SAVE procedure, then you can use CMSAVE, /APPEND to stick
some extra variables on the end of the file.
However, I'm not sure how this is going to help. The variable you
appended may be restored to the MAIN level, but how will you get at it
with your program? [ One way to do it would be with CMRESTORE, but
then you will need to know the pathname of the save file. ]
If I've totally missed the mark then you will have to ask again :-)
Good luck,
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|