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

Home » Public Forums » archive » Re: IDL 8.0 questions
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: IDL 8.0 questions [message #71819 is a reply to message #71818] Sun, 25 July 2010 08:22 Go to previous messageGo to previous message
Mike Potter is currently offline  Mike Potter
Messages: 19
Registered: August 2008
Junior Member
On Jul 25, 7:12 am, wlandsman <wlands...@gmail.com> wrote:
> On Jul 25, 2:07 am, Mike Potter <m...@orionsound.com> wrote:
>
>> QFILE           STRING    = '8 unsigned int, 16 & 32 int, -32 & -64
>> A couple of things to note:
>
>> 1) the final time through the first loop filenames get corrupted
>> somehow - and the string that results is actually some of the code
>> from "readfits.pro".
>
> 1.    No - there is no line in readfits.pro that reads "8 unsigned
> int....".      This looks instead to me like something typically
> written in the comment field of the FITS header (for the keyword
> BITPIX).
>
> 2.    It looks like the error is occurring in the FOR-ENDFOR loop --
> before the FOREACH loop is even reached!  Is that right?
>
> I have no idea what is going on but if forced to choose I would say
> that this is a string descriptor problem rather than a FOREACH
> problem.     In particular, I would suspect that there is an IDL 8.0
> Windows bug in the processing  of empty strings.  --Wayne

Wayne - as to your second point - yes, the error shows no matter where
the "FOREACH" loop is located. I tried the same code with the
"FOREACH" loop first and got essentially the same results. I say
"essentially" because the results do vary from consecutive running of
the program, even without re-compiling. And while it doesn't happen
every time it SEEMS as though the spontaneous exits of the IDLDE occur
while compiling code containing a FOREACH loop. Also note I tried a
FOREACH loop that interated through an array of integers and got
essentially the same result.


Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Writing in IDL at the same line in the screen
Next Topic: Extract pixel values from HDF-EOS file

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

Current Time: Sat Oct 11 08:42:50 PDT 2025

Total time taken to generate the page: 0.48339 seconds