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

Home » Public Forums » archive » Syntax errors
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Syntax errors [message #50747] Wed, 18 October 2006 14:19 Go to previous message
Dominic Metzger is currently offline  Dominic Metzger
Messages: 30
Registered: August 2006
Member
Hi,

Me again. Why isnt it possible to suppress syntax errors in
RESOLVE_ROUTINE unless I use EXECUTE and IDL_IDLBRIDGE instead? How
come !QUIET or CATCH, ERROR wont take of it?

Or is there another way than using execute so that any errors caused by
RESOLVE_ROUTINE (including syntax errors) wont be shown / printed to
screen?


PRO LOAD_ROUTINE, ROUTINE
!QUIET=1
CATCH, ERROR
IF (ERROR NE 0) THEN RETURN
RESOLVE_ROUTINE, ROUTINE, /EITHER
END

PRO MY_PROCEDURE
...
LOAD_ROUTINE, ROUTINE
...
END

gracias

dometz
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mac 64-bit
Next Topic: Re: Commutativity of multiplication

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

Current Time: Fri Oct 10 02:29:22 PDT 2025

Total time taken to generate the page: 0.88026 seconds