building loops at the command line [message #42000] |
Tue, 14 December 2004 01:56  |
rlayberry
Messages: 33 Registered: November 2004
|
Member |
|
|
> Don't try to build loops at the IDL command line. :-)
Why not, just out of interest? I do it all the time because i can test
sections of code quickly without compiling and running. I am prepared
to believe there is some pitfall I am missing, but what is it?
Cheers
Russ
|
|
|
Re: building loops at the command line [message #42019 is a reply to message #42000] |
Tue, 14 December 2004 13:52  |
George N. White III
Messages: 56 Registered: September 2000
|
Member |
|
|
On Tue, 14 Dec 2004, David Fanning wrote:
> russ writes:
>
>> Why not, just out of interest? I do it all the time because i can test
>> sections of code quickly without compiling and running. I am prepared
>> to believe there is some pitfall I am missing, but what is it?
>
> The annoyance that builds up when I single ampersand goes
> missing and you have to start over at the first line
> can get to a flash point. There are numerous reports
> in the literature of otherwise friendly dogs getting
> kicked, ear-shattering blasphemous screams, and -- in
> one instance--a marriage falling apart, as a result.
Then there are the informative error messages one gets with a little caret
pointing to the exact location of your error somewhere in half a screen of
wrapped text.
--
George N. White III <aa056@chebucto.ns.ca>
|
|
|
Re: building loops at the command line [message #42024 is a reply to message #42000] |
Tue, 14 December 2004 04:23  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
russ writes:
> Why not, just out of interest? I do it all the time because i can test
> sections of code quickly without compiling and running. I am prepared
> to believe there is some pitfall I am missing, but what is it?
The annoyance that builds up when I single ampersand goes
missing and you have to start over at the first line
can get to a flash point. There are numerous reports
in the literature of otherwise friendly dogs getting
kicked, ear-shattering blasphemous screams, and -- in
one instance--a marriage falling apart, as a result.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|