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

Home » Public Forums » archive » Catched in a catch loop
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: Catched in a catch loop [message #94806 is a reply to message #94801] Wed, 18 October 2017 22:21 Go to previous message
LNpellen is currently offline  LNpellen
Messages: 37
Registered: November 2009
Member
Thank you! First I got a compilation error with the RETURN as it is within a function, but when I made it RETURN, -1 it worked out.

CATCH, err_stat
IF err_stat NE 0 THEN BEGIN
CATCH, /CANCEL
sv=DIALOG_MESSAGE('Not valid .sav file: '+adr, /INFORMATION)
RETURN, -1
ENDIF
RESTORE, adr
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: tvscl
Next Topic: tvscl

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

Current Time: Wed Oct 08 09:17:03 PDT 2025

Total time taken to generate the page: 0.00355 seconds