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

Home » Public Forums » archive » Re: idl syntax validation
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: idl syntax validation [message #50737 is a reply to message #50734] Wed, 11 October 2006 14:21 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Wed, 11 Oct 2006 13:41:12 -0700, Dometz wrote:

> Hi,
>
> Is there way to validate idl syntax? So, something like the .compile
> command on the command line but which only checks if the syntax is
> valid and then exits and reports the errors.

catch,err
if err ne 0 then begin
print,'caught compile error for ',routine
catch,/cancel
endif else resolve_routine,routine,/EITHER

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Opening a .isv file
Next Topic: Basic format code question

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

Current Time: Wed Oct 08 17:56:07 PDT 2025

Total time taken to generate the page: 0.00920 seconds