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 #70579 is a reply to message #70572] Thu, 22 April 2010 16:16 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Apr 22, 7:49 pm, "R.G. Stockwell" <noem...@please.com> wrote:
> "Gray" <grayliketheco...@gmail.com> wrote in message
>
> news:3fd12140-7afc-4375-b8d6-3bf139f1d2ab@e21g2000vbb.google groups.com...
> On Apr 22, 5:16 pm, mgalloy <mgal...@gmail.com> wrote:> On 4/22/10 3:03 PM, Gray wrote:
>
> ....
>
>> Haha.  I always forget about this, since I only index arrays with []
>> thanks to my c++ background.
>
> one followup would be to figure out why this happened in the first place.
> You may not have paths/ etc set up correctly, causing IDL to think it
> was an array.

No path problems are needed. Without the compile_opt, if a name is
used by a variable and there is no function with that name already
compiled, IDL will assume it is a variable name, and will not try to
find a function to compile. But if a compiled function uses a name,
any references to the name will be interpreted as function calls,
ignoring a variable of the same name, regardless of when the variable
was defined.
[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 16:15:24 PDT 2025

Total time taken to generate the page: 0.00248 seconds