<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">
Hi,
<div><br>
</div>
<div>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?</div>
<div>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 </div>
<div>terminal output at the beginning of the run but then the script continues.</div>
<div>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 </div>
<div>check for errors.</div>
<div><br>
</div>
<div>I hope I’m clear about this.</div>
<div><br>
</div>
<div>Best,</div>
<div>/M</div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">
<br>
<p class="MsoNormal"><b><i>Marston S. Ward</i></b><br>
</p>
</div>
</body>
</html>