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

Home » Public Forums » archive » Array has a corrupted discriptor, reliable?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Array has a corrupted discriptor, reliable? [message #61696] Mon, 28 July 2008 03:24 Go to previous message
Joost Aan de Brugh is currently offline  Joost Aan de Brugh
Messages: 16
Registered: July 2008
Junior Member
Hello folks,

I am using IDL in corporation with Fortran and I am using arrays of
variable size. Because I am in the initial stage of the program, I
might make mistakes and have Fortran write data outside of my arrays.
A simple example:

idlarray = FltArr(OneTooFew)

Call_External,.... (writng outside the idlarray bounds)

....

End

And I get a corrupted discriptor and the End in IDL. I was expecting a
Segmentation fault, because I write data on a location that I have not
allocated.

Will I always get an error if I have Fortran write outside of my
bounds or do I take the risk that I write data on wrong places without
noticing?

(This time, I am glad if I see an error message).

Greetings,
Joost Aan de Brugh
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Project sav file in 7.0
Next Topic: Re: Removing some but not all spaces in a string

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

Current Time: Thu Oct 09 22:49:20 PDT 2025

Total time taken to generate the page: 0.39861 seconds