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

Home » Public Forums » archive » Re: Best way to reset the session?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Best way to reset the session? [message #34111 is a reply to message #34109] Sun, 16 February 2003 14:57 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"M. Katz" <MKatz843@onebox.com> wrote in message
news:4a097d6a.0302161306.79db1a39@posting.google.com...
> ...
> In IDL 5.4 on Mac OS X, I could simply type
> .reset_session--the memory of that object
> would be expunged, AND (!) IDL would re-run
> my startup.pro file so I'd have a true, fresh session
> with all of my default parameters set up like new.

That's funny. In IDL 5.4 (and later) on Windows the startup file is not
re-run.

> I've noticed that in IDL 5.6 (Mac, Linux, Sun) typing
> .reset or .reset_session starts things anew, but
> doesn't run my startup.pro file. It's now necessary
> to exit and restart IDL.

Er...you could run the startup file yourself.

I've bound a macro to run the startup script to a handy key. I use it
immediately after .reset_session. (I tried a script that would reset the
session *then* run the startup script. Not surprisingly, this didn't work as
executive commands cannot be called from scripts.)

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: UNIQ without SORT
Next Topic: WHERE approaching Flatland

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

Current Time: Fri Oct 10 00:39:55 PDT 2025

Total time taken to generate the page: 0.23961 seconds