find variables in a save/restore file [message #7518] |
Mon, 25 November 1996 00:00  |
cabr69
Messages: 8 Registered: April 1995
|
Junior Member |
|
|
Dear All,
I was wondering if there was a way to examine a save/restore file to see what
variables are contained in it? For example, if I do
IDL> save,filename='test',a,b,c,d
I'm thinking of something like
IDL> restore,'test
IDL> a=find_var(test)
returning an array a, where a(0)=a, a(1)=b, a(2)=c etc..
Can anyone help?
cheers,
David
|
|
|
Re: find variables in a save/restore file [message #7639 is a reply to message #7518] |
Wed, 27 November 1996 00:00  |
rjohnson
Messages: 3 Registered: February 1996
|
Junior Member |
|
|
D.H.Brooks (cabr69@ccsun.strath.ac.uk) wrote:
: I was wondering if there was a way to examine a save/restore file to see what
: variables are contained in it? For example, if I do
If you just want to know what variables were restored, do
IDL>restore,/verbose,'<filename>'
now, writing those into another variable is another story...
Rita
|
|
|