Re: Variables in SAVE files [message #29238] |
Fri, 08 February 2002 11:05 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
john.copley@nist.gov (John Copley) writes:
> If I have an IDL save file I can use the VERBOSE option to find out
> the names of the variables stored in the file, but is there a way to
> capture this information into a string or string array? In other
> words, can the standard output be redirected to a file? If so that
> would do it, I think.
A good way to do this is with my CMSAVE library. With CMSAVEDIR, you
can extract the names and types of all the variables in a save file
[among other things]. There is an option to do this quietly, so
nothing is printed to the screen.
Craig
http://cow.physics.wisc.edu/~craigm/idl/idl.html (under SAVE files)
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|