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

Home » Public Forums » archive » IDL 8.0 bug -- line number of errors not given
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL 8.0 bug -- line number of errors not given [message #72905] Tue, 12 October 2010 10:35
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
I'm not sure if this IDL 8.0 bug has been mentioned. (At least I
think it is a bug -- perhaps someone can convince me that it is a
feature.)

If I run the litle program below, I get

IDL> print,!version
{ x86 linux unix linux 8.0 Jun 18 2010 32 64}
IDL> test
% Specified offset to array is out of range: A.
% Execution halted at: $MAIN$

So there is an error somewhere, but I have no idea of the line number,
or even of the routine name. (I've been coming across this error
running software with a dozen nested programs.) IDL 7.1 gave the
expected traceback. --Wayne

IDL> print,!version
{ x86 linux unix linux 7.1.1 Aug 19 2009 32 64}
IDL> test
% Compiled module: TEST.
% Specified offset to array is out of range: A.
% Error occurred at: TEST1 4 /home/landsman/newdb/
test.pro
% TEST 10 /home/landsman/newdb/
test.pro
% $MAIN$
% Execution halted at: $MAIN$



function test1

a = bindgen(32)
c = long(a,30,1)
return,1
end

pro test
On_error,2
print,test1()
return
end
[Message index]
 
Read Message
Previous Topic: Wheelbarrows to be Issued with New IDL Book
Next Topic: Re: convol.pro - doubt in giving kernel array

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

Current Time: Sun Oct 12 07:16:31 PDT 2025

Total time taken to generate the page: 1.27774 seconds