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

Home » Public Forums » archive » Re: Error: Array has a corrupted descriptor
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: Error: Array has a corrupted descriptor [message #51564 is a reply to message #51562] Mon, 27 November 2006 19:24 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gongqin Shen writes:

> I have this problem when I have to initialized a same-name array
> multiple times. It goes like this:
> FOR i = 1, N_ELEMENTS(list) - 1 DO BEGIN
> arr = BYTARR(list[i], list[i-1])
> Do Something here....
> END
>
> After a few, somewhere around 5, runs, the program crashes and reports
> this error:
> ERROR: Array has a corrupted descriptor.
>
> I searched through the archives, and there is one thread about DICOM
> image disposal addressed the similar question. I am wondering is there
> anybody who knows how to get around this?

This is usually a LHS problem. I think the secret lies
in the "Do Something here..." part of the code. :-)

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error: Array has a corrupted descriptor
Next Topic: natural neighbor interpolation

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

Current Time: Sat Oct 11 15:29:56 PDT 2025

Total time taken to generate the page: 2.06086 seconds