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

Home » Public Forums » archive » Re: Troubleshooting - Error Messages.
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: Troubleshooting - Error Messages. [message #18083 is a reply to message #18082] Wed, 01 December 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Vicky A (vicky_a@my-deja.com) writes:

> Is there some standard procedure for dealing with compilation errors?
> (I mean errors that prevent a file compiling)
>
> I know an experienced user can just look at
> print n
> and say/think 'There should be a comma there.'
>
> Is that what it boils down to, IDL tells you Where the error is, and
> you work out What the error is, by recognition or something?

I'm afraid, Vicky, that is what it boils down to:
experience. :-)

But I'm here to tell you that after you have fixed
a thousand no-comma problems, you do tend to recognize them
fairly quickly. :-)

But the fact you are asking questions is incredibly
encouraging. I see all types in my IDL programming
classes, but I especially remember one person who
HATED to get help. He wanted to do EVERYTHING himself,
including make his own mistakes. I try to read what
people want, so although I saw him struggling with
his programming exercise and I offered to help a
couple of times, he wasn't having it. He struggled
for about an hour and a half, refusing to give up.
The class and I moved on to another topic, which
he completely missed. Finally, he admitted defeat
and asked for my help.

"You're missing a comma here," I said, smiling.

That was it. One comma that I noticed was missing
one and a half hours ago and was begging to tell him,
if only he had allowed me to.

I'm all for struggling. It is really the only way
to gain experience. I try to make sure everyone in my
classes struggles a bit. But one and a half hours over
a comma is WAY too much. (Although I'll bet it's the
*first* thing he looks for if we wasn't so discouraged
that he gave up IDL programming completely.) Ask for help.

I solve about half the problems people have in classes
just by coming over and looking over their shoulders.
The problems just go away. No kidding. :-)

After five minutes, go find somebody to look over
your shoulder. That's my best advice. :-)

Good programming!

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Copying objects
Next Topic: Re: Fitting Circles

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

Current Time: Sat Oct 11 08:44:09 PDT 2025

Total time taken to generate the page: 1.38049 seconds