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 #27555 is a reply to message #27521] Fri, 26 October 2001 12:16 Go to previous messageGo to previous message
Joe Means is currently offline  Joe Means
Messages: 44
Registered: November 1996
Member
<html><head></head><body>Hmmmm.....&nbsp; I missed that one.&nbsp; Thanks, Dick.<br>
Cheers,<br>
Joe<br>
<br>
Dick Jackson wrote:<br>
<blockquote type="cite" cite="mid:qYZB7.6292$4H1.13032@shaw-ty2">
<blockquote type="cite"><pre wrap="">"Joe Means" wrote in message <a class="moz-txt-link-freetext" href="news:3BD85C6F.8040606@orst.edu">news:3BD85C6F.8040606@orst.edu</a>...<br></pre><blockquote type="cite"><pre wrap="">This looks like a simple bug in the IDL 5.4 compiler under Windows2000.<br>If others confirm this, then RSI you may want to take note. Perhaps it<br>is fixed in 5.5 which I cannot afford yet.<br><br>PRO Showbug<br><br> numAll1Rets = 6<br> segmentT = 2d<br><br> distancesT = segmentT*(Dindgen(numAll1Rets-2)+1d)<br><br> distancesT = segmentT*(1d+Dindgen(numAll1Rets-2))<br> ;This second statement generates a compile error:<br> ;%Syntax error.<br><br>Return<br>End<br></pre></blockquote></blockquote >
<pre wrap=""><!----><br>"Rick Towler" <a class="moz-txt-link-rfc2396E" href="mailto:rtowler@u.washington.edu">&lt;rtowler@u.washington.edu&gt;</a> wrote in message<br><a class="moz-txt-link-freetext" href="news:9r9nld$26e6$1@nntp6.u.washington.edu">news:9r9nld$26e6$1@nntp6.u.washington.edu</a>...<br></pre>
<blockquote type="cite"><pre wrap="">Bug? I don't know.<br><br>But I can confirm that as written, I get the same error in IDL 5.4 and<br>5.5(beta) on Win2k and in IDL 5.3 and 5.4.1 on Solaris (sunos sparc).<br><br>FWIW, if you put spaces around your "+" you don't get the error:<br><br>-Rick<br></pre></blockquote>
<pre wrap=""><!----><br>Right, and that would be because, for example, the constant 1d+3 means<br>1*10^3, double precision. 1d+D... is just not allowed. Rick's suggestion is<br>good, or if you prefer:<br><br>distancesT = segmentT*(1d0+Dindgen(numAll1Rets-2))<br><br>distancesT = segmentT*((1d)+Dindgen(numAll1Rets-2))<br><br>Cheers,<br >--<br>-Dick<br><br>Dick Jackson / <a class="moz-txt-link-abbreviated" href="mailto:dick@d-jackson.com">dick@d-jackson.com</a><br>D-Jackson Software Consulting / <a class="moz-txt-link-freetext" href="http://www.d-jackson.com">http://www.d-jackson.com</a><br>Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392<br><br><br></pre>
</blockquote>
<br>
<pre class="moz-signature">--
Joseph E. Means
Assistant Professor, <a class="moz-txt-link-abbreviated" href="mailto:joe.means@orst.edu">joe.means@orst.edu</a>
Department of Forest Science
Oregon State University
Corvallis, OR 97331-5752
541-750-7351</pre>
<br>
</body></html>
[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: Thu Oct 09 07:34:40 PDT 2025

Total time taken to generate the page: 0.00503 seconds