[ncl-talk] NCl exit on error

Marston Ward marston.johnston at gu.se
Wed Nov 22 08:35:44 MST 2017


Hi,

Is there a way to get NCL to exit on detecting a syntax error in a function and not continuing on in the main program?
As it stands now in NCL 6.4.0, if an error is detected in a function called from the main program, the error is listed in the
terminal output at the beginning of the run but then the script continues.
So in the case of debugging when there are lots of print statements, I have to scroll up to the beginning of the run to
check for errors.

I hope I’m clear about this.

Best,
/M

Marston S. Ward
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171122/4b844f9f/attachment.html>


More information about the ncl-talk mailing list