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

Home » Public Forums » archive » Re: Simple bug in IDL 5.4 compiler under Win2000
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: Simple bug in IDL 5.4 compiler under Win2000 [message #27521] Mon, 29 October 2001 07:48 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
Joe Means <joe.means@orst.edu> writes:

> Rick,
> Regarding your question about whether this behavior is a bug, my
> rationale for saying so is that it the offending statement contains no
> incorrect IDL syntax that I can see.
> Joe

Actually, I would argue that writing a number as simply "1d" is incorrect
syntax, or at least sloppy syntax. IDL lets you get away with it in most cases
(obviously not here), but the number really should be written as "1d0".

Sorry, I don't mean to come off as harsh.

William Thompson


> Rick Towler wrote:

>> Bug? I don't know.
>>
>> But I can confirm that as written, I get the same error in IDL 5.4 and
>> 5.5(beta) on Win2k and in IDL 5.3 and 5.4.1 on Solaris (sunos sparc).
>>
>> FWIW, if you put spaces around your "+" you don't get the error:
>>
>> -Rick
>>
>>
>> "Joe Means" wrote in message news:3BD85C6F.8040606@orst.edu...
>>
>>> This looks like a simple bug in the IDL 5.4 compiler under Windows2000.
>>> If others confirm this, then RSI you may want to take note. Perhaps it
>>> is fixed in 5.5 which I cannot afford yet.
>>>
>>> PRO Showbug
>>>
>>> numAll1Rets = 6
>>> segmentT = 2d
>>>
>>> distancesT = segmentT*(Dindgen(numAll1Rets-2)+1d)
>>>
>>> distancesT = segmentT*(1d+Dindgen(numAll1Rets-2))
>>> ;This second statement generates a compile error:
>>> ;%Syntax error.
>>>
>>> Return
>>> End
>>>

> --
> Joseph E. Means
> Assistant Professor, joe.means@orst.edu
> Department of Forest Science
> Oregon State University
> Corvallis, OR 97331-5752
> 541-750-7351
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL 5.5 jpeg and tiff
Next Topic: How-to? color png

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

Current Time: Wed Oct 08 16:01:33 PDT 2025

Total time taken to generate the page: 0.00398 seconds