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

Home » Public Forums » archive » Re: refresh option?
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
Re: refresh option? [message #78373] Fri, 18 November 2011 11:17
shaheda shahi is currently offline  shaheda shahi
Messages: 7
Registered: October 2011
Junior Member
Yes, I use 'close,/all'. '.reset' will be helpful.

-Shaheda



On Nov 18, 2:22 am, David Fanning <n...@dfanning.com> wrote:
> shaheda shahi writes:
>> Is there any refresh option in IDL, when we run number of commands
>> continuously?
>
>   IDL> .Reset
>
>> Let say 1. when many logic unit numbers are used, it says error. will
>> there be any option
>> to clear all the logical unit numbers used or restarting IDL is the
>> only option.?
>
> It might be better programming style to close the files
> when you are finished with them. :-)
>
> But, this will work, too, if you are too lazy to do it the right way:
>
>  IDL> Close, /All
>
>> 2. When a window is used, 'erase' option helps in clearing the
>> contents in the window.
>> Such an option will be there which can clear the commands or variables
>> used?
>
> .reset is your friend here.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: refresh option? [message #78387 is a reply to message #78373] Thu, 17 November 2011 13:22 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
shaheda shahi writes:

> Is there any refresh option in IDL, when we run number of commands
> continuously?

IDL> .Reset

> Let say 1. when many logic unit numbers are used, it says error. will
> there be any option
> to clear all the logical unit numbers used or restarting IDL is the
> only option.?

It might be better programming style to close the files
when you are finished with them. :-)

But, this will work, too, if you are too lazy to do it the right way:

IDL> Close, /All

> 2. When a window is used, 'erase' option helps in clearing the
> contents in the window.
> Such an option will be there which can clear the commands or variables
> used?

.reset is your friend here.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: nonspecific error from TV
Next Topic: Re: nonspecific error from TV

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

Current Time: Fri Oct 10 08:13:39 PDT 2025

Total time taken to generate the page: 0.00601 seconds