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

Home » Public Forums » archive » catch error inside idlbridge
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
catch error inside idlbridge [message #94850] Mon, 06 November 2017 14:28 Go to previous message
andre.waehlisch is currently offline  andre.waehlisch
Messages: 3
Registered: July 2017
Junior Member
Can someone explain to me the following behavior or is this a bug? I am trying to catch an error in my idlbridge object, but this fails (put in C:\test\test.pro):

pro test2
on_ioerror, jmp
openr, unit, 'nothing', /get_lun ; provoke error
jmp: return
end

pro test
a = obj_new('idl_idlbridge')
a->execute, 'cd, "C:\test"' ; make sure idlbridge knows this file
a->execute, 'resolve_routine, "test"'
a->execute, 'test2' ; the error does not get caught and execution halts here
end
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How to eliminate smaller blob from label_region image
Next Topic: CgGreek not compiling: new IDL, new OS X

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

Current Time: Wed Oct 08 11:41:30 PDT 2025

Total time taken to generate the page: 0.00581 seconds