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

Home » Public Forums » archive » [Q] removing undefined variables automatically/rename
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
[Q] removing undefined variables automatically/rename [message #7389] Wed, 06 November 1996 00:00 Go to next message
iarla is currently offline  iarla
Messages: 10
Registered: December 1994
Junior Member
Hello,

does anybody know if there's a handy routine for deleting undefined
variables in IDL? Occasionally lots of them are setup accidentally and
it's annoying to have deleting individually. Does anyone have a
suggestion for dealing with this?

Also, does anyone know if it's possible to rename a variable? If you have
a large array is can be tricky doing

a = temporary(b)
delvar,b

Any suggestions?

Thanks,

Iarla.

--
____________________________________________________________ _________

Iarla Kilbane-Dawe Email: iarla@atm.ch.cam.ac.uk
European Ozone Research Phone: +44 (0)1223 311 772
Coordinating Unit Fax: +44 (0)1223 311 750
Cambridge University, UK.
____________________________________________________________ _________
Re: [Q] removing undefined variables automatically/rename [message #7437 is a reply to message #7389] Tue, 12 November 1996 00:00 Go to previous message
Marcos Portabella Arn[1] is currently offline  Marcos Portabella Arn[1]
Messages: 2
Registered: November 1996
Junior Member
Hi,

As far as I know, if you want to rename a variable without using the double
space memory during the operation, you do not need to add the delvar command.
So, with

a=temporary(b)

is enough

Marcos Portabella
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Plotting the terminator on a map
Next Topic: Re: disappearing levels in CONTOUR

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

Current Time: Fri Oct 10 06:09:16 PDT 2025

Total time taken to generate the page: 0.16107 seconds