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

Home » Public Forums » archive » How to kill a specific variable in IDL prompt mode?
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
How to kill a specific variable in IDL prompt mode? [message #56062] Thu, 27 September 2007 17:27
fullyu4 is currently offline  fullyu4
Messages: 4
Registered: September 2007
Junior Member
When I am testing in IDL prompt mode, I often accidentally create a
new variable that I don't want to create. For example, if I enter:

IDL> k=fingen(5)

what I really want to type is k=findgen(5), but because the mistake I
made, there are two new variables in the memory:

IDL> help
fingen undefined=<undefined>
k undefined=<undefined>

Is there a way to delete these variables after I use it? (other than
use .reset_session) to kill all the variables.

Thank you.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Auto-complete in IDL prompt.
Next Topic: Re: Auto-complete in IDL prompt.

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

Current Time: Fri Oct 10 11:15:08 PDT 2025

Total time taken to generate the page: 1.27763 seconds