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

Home » Public Forums » archive » Re: baffling syntax error
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: baffling syntax error [message #70570 is a reply to message #70569] Fri, 23 April 2010 11:44 Go to previous messageGo to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Apr 23, 1:36 pm, David Fanning <n...@dfanning.com> wrote:
> R.G. Stockwell writes:
>> agree.  i'm just guessing as to the cause, and path problems are
>> very common.  Could either be a newly created function that is not in
>> the cached path, or perhaps misnamed, or not in the path at all.
>
>> My point being, if it is a problem like that, then it will still be a
>> problem
>> in the future, and the compile option won't fix it.
>
> I've taken it as the Gospel truth that if files
> are named correctly this problem NEVER occurs:
>
>   http://www.dfanning.com/tips/namefiles.html
>
> But I ran into a situation about a month ago, and I
> don't remember all the details now, but, basically,
> the ONLY way to solve the problem was to add a
> compile option. It made me wonder if IDL had changed
> something about the order in which it sorts things out,
> because I had never run into this problem before.
>
> I'll have to get a beer or two, probably, before I
> can remember all the details. :-(
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Well, here's what happened - the function that was being called was
included in a file along with a bunch of other routines. I needed to
write another wrapper to use some of those functions to work in a
limited capacity only, so I was simply compiling the original wrapper
file before I compiled my new wrapper file. BUT, at one point I
forgot to do that, so I got the above error. Since I already write
code in strict_arr anyway (it's much less confusing to read), I should
just turn on idl2 out of habit, so these things don't happen.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: I calculated longwave radiation using readcol function from IDL-astro: Output file looks crazy. (T.T)
Next Topic: paypal wholesale men's shoes (paypal payment) sneakers

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

Current Time: Wed Oct 08 17:55:23 PDT 2025

Total time taken to generate the page: 0.00396 seconds