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

Home » Public Forums » archive » Stupid Question
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
Stupid Question [message #15021] Mon, 12 April 1999 00:00 Go to next message
H T Onishi is currently offline  H T Onishi
Messages: 7
Registered: April 1999
Junior Member
Is there any way to kill all variables and compiled procedures within an IDL
session other than quitting and restarting IDL? In particular I would like
IDL to recompile all .pro files used in a program.

Thanks,

Howard Onishi
Re: Stupid Question [message #15053 is a reply to message #15021] Thu, 15 April 1999 00:00 Go to previous messageGo to next message
H T Onishi is currently offline  H T Onishi
Messages: 7
Registered: April 1999
Junior Member
> Are you offering money to the person who writes this
> program?

Heh, heh. Sorry, No Mas Dinero. (At least that's what they tell me at
work).

Howard


David Fanning <davidf@dfanning.com> wrote in message
news:MPG.117c46263f47eeff98975d@news.frii.com...
> Howard Onishi (htonishi@home.com) writes:
>
>> Is there any way to kill all variables and compiled procedures within an
IDL
>> session other than quitting and restarting IDL? In particular I would
like
>> IDL to recompile all .pro files used in a program.
>
> Here is a little program that will destroy all your main-
> level variables for you:
>
> PRO NO_MAS
> END
>
> Whenever you want all main-level variables to disappear,
> type this:
>
> IDL> .Run No_Mas
>
> I don't know of any way to re-compile all the currently
> compiled procedures and functions, but you might try
> catching the names of all the compiled routines with
> something like this:
>
> Help, /Routines, Output=theseNames
>
> Then you could parse the "theseNames" string array
> and use Resolve_Routine on each of the names.
>
> Are you offering money to the person who writes this
> program?
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
Re: Stupid question [message #32136 is a reply to message #15021] Wed, 18 September 2002 05:07 Go to previous messageGo to next message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Very simple: .f <enter> (short for .ful_seesion_reset)

Haje

"Adam Bayliss" <rabayliss@students.wisc.edu> wrote in message
news:3D87739F.EAF688E7@students.wisc.edu...
> Is there a command to clear all variables in the current scope? Tired
> of conflicting structure definitions.
>
> Adam
Re: Stupid question [message #32139 is a reply to message #15021] Tue, 17 September 2002 12:19 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Adam Bayliss (rabayliss@students.wisc.edu) writes:

> Is there a command to clear all variables in the current scope? Tired
> of conflicting structure definitions.

IDL> .reset_session

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Stupid question [message #32200 is a reply to message #32136] Fri, 20 September 2002 06:00 Go to previous messageGo to next message
Adam Bayliss is currently offline  Adam Bayliss
Messages: 5
Registered: January 2002
Junior Member
Haje Korth wrote:
>
> Very simple: .f <enter> (short for .ful_seesion_reset)
>
> Haje
>
> "Adam Bayliss" <rabayliss@students.wisc.edu> wrote in message
> news:3D87739F.EAF688E7@students.wisc.edu...
>> Is there a command to clear all variables in the current scope? Tired
>> of conflicting structure definitions.
>>
>> Adam
Thanks!
Re: Stupid question [message #32201 is a reply to message #32139] Fri, 20 September 2002 06:01 Go to previous messageGo to next message
Adam Bayliss is currently offline  Adam Bayliss
Messages: 5
Registered: January 2002
Junior Member
Thanks very much!
Re: Stupid question [message #32508 is a reply to message #15021] Thu, 10 October 2002 19:34 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
weimin wang (wangwm@igsnrr.ac.cn) writes:

> Adam Bayliss <rabayliss@students.wisc.edu> wrote:
>> Is there a command to clear all variables in the current scope? Tired
>> of conflicting structure definitions.
>>
>> Adam
> I alse want to find such a command.Can someone tell us?

IDL> .Reset_Session

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Stupid question
Next Topic: Re: droplist doesn't work under Linux

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

Current Time: Wed Oct 08 13:54:35 PDT 2025

Total time taken to generate the page: 0.00454 seconds