Re: *MOST* useful feature! [message #33141 is a reply to message #33140] |
Mon, 09 December 2002 10:26   |
JD Smith
Messages: 850 Registered: December 1999
|
Senior Member |
|
|
On Mon, 09 Dec 2002 09:18:13 -0700, David Fanning wrote:
> Folks,
>
> Did you see what the elves brought us this Christmas!?
>
> In IDL 5.6 Windows version you can grab a piece of code out of a window
> and paste the whole darn thing at the IDL command line! Hooray!!!
>
> Productivity at my place has just gone up 178%.
>
> Cheers,
>
> David
>
> P.S. If somebody opens their mouth and says they have been able to do
> this with their IDLWAVE emacs mode since 1986 I am going to scream. :-(
Well, to avoid the scream, I'll only say that in addition to this useful
feature, IDLWAVE also lets you "Run Region" on selected text. What does
this do for you? Try giving a regular piece of code like:
for i=0,1 do begin
foo,i
endfor
to the IDLDE shell. Does it like it? Probably not. IDLWAVE will
take that code, slap an END statement at the end, and .run it as a
$MAIN$ level routine. Excellent for trying out individual pieces of a
routine, complete with real control blocks, at a time.
JD
|
|
|