comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » find variables in a save/restore file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
find variables in a save/restore file [message #7518] Mon, 25 November 1996 00:00 Go to next message
cabr69 is currently offline  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 Go to previous message
rjohnson is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Make money!
Next Topic: PVWAVE-Problem with polyfillv

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:48:59 PDT 2025

Total time taken to generate the page: 0.00363 seconds