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
Re: Syntax errors [message #50888 is a reply to message #50747] Thu, 19 October 2006 05:46 Go to previous messageGo to previous message
Allan Whiteford is currently offline  Allan Whiteford
Messages: 117
Registered: June 2006
Senior Member
Dometz,

How about:

resolve_all,/continue_on_error,/quiet

This, of course, just won't compile routines which have errors but I
guess that's what you want?

Thanks,

Allan

Dometz wrote:
> 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 07:27:19 PDT 2025

Total time taken to generate the page: 0.96006 seconds