Command input window in Windows: why only one line? [message #17740] |
Fri, 12 November 1999 00:00  |
Bigorna
Messages: 1 Registered: November 1999
|
Junior Member |
|
|
Dear all,
I have been using IDL for Unix for some years now and I recently had to
move to the Windows version.
I find one irritating feature in IDL for Windows, relative to the Unix
and Linux versions: it is not possible to paste multiple lines of code
into IDL! It is only possible to do it one line at a time (the clipboard
may have multiple lines, but IDL only runs the first one).
I know that this may not the cleanest way of testing/building/running
programs, but I find that copying and pasting parts of programs into the
IDL window (and running them, even with loops!) is a very efficient and
flexible way of doing tests! I can run bits and pieces of various
programs, without having to create a special procedure, compiling, etc.
A simple copy+paste does the same work much faster (but I do things
properly when the "bits and pieces" are working the way I want).
Am I the only one who works this way and thinks that RSI should allow
multiple code line pasting in their Windows version?!! Is there a way to
get around it?
Thanks,
Bigorna
|
|
|
Re: Command input window in Windows: why only one line? [message #17843 is a reply to message #17740] |
Tue, 16 November 1999 00:00  |
Michael Asten
Messages: 53 Registered: March 1999
|
Member |
|
|
Bigorna wrote:
> Dear all,
>
> I have been using IDL for Unix for some years now and I recently had to
> move to the Windows version.
>
> I find one irritating feature in IDL for Windows, relative to the Unix
> and Linux versions: it is not possible to paste multiple lines of code
> into IDL! It is only possible to do it one line at a time (the clipboard
> may have multiple lines, but IDL only runs the first one).
It is not much consolation, but you can get multiple commands including for
loops into the windows command line,
by editting them into a singleline, using the ampersand, eg as follows:
for i=1,3 do begin & j=i*2 & print,j & endfor & end
But I agree it is not the easy solution you are after.
Regards,
Michael Asten
|
|
|