<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RUNNING A SCRIPT WITH TROW() IN IT in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/RUNNING-A-SCRIPT-WITH-TROW-IN-IT/m-p/385122#M63538</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;write("\!ntry some JSL...");
try(
	write("\!ntry 1...");
	junk("what would this do?");
	write("\!ntry 2...");
, // catch errors here
	write("\!nthis is what went wrong:",exception_msg);
);
write("\!nDid it work?");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;try some JSL...&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;try 1...&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;this is what went wrong:{"Name Unresolved: junk"(1, 2, "junk", junk("what would this do?") /*###*/)}&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Did it work?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 11:18:49 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2021-05-14T11:18:49Z</dc:date>
    <item>
      <title>RUNNING A SCRIPT WITH TROW() IN IT</title>
      <link>https://community.jmp.com/t5/Discussions/RUNNING-A-SCRIPT-WITH-TROW-IN-IT/m-p/385109#M63537</link>
      <description>&lt;P&gt;Hello Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way in JMP to use try to keep the script running if some part of it fails but still give me a log file of the part that did not run?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As if we use throw(), the script would stop as soon as it gets an error. I dont want the script to stop but I also want the error messages stored somewhere so that I can understand what did not work ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:30:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/RUNNING-A-SCRIPT-WITH-TROW-IN-IT/m-p/385109#M63537</guid>
      <dc:creator>ankitgssingh</dc:creator>
      <dc:date>2023-06-10T23:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: RUNNING A SCRIPT WITH TROW() IN IT</title>
      <link>https://community.jmp.com/t5/Discussions/RUNNING-A-SCRIPT-WITH-TROW-IN-IT/m-p/385122#M63538</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;write("\!ntry some JSL...");
try(
	write("\!ntry 1...");
	junk("what would this do?");
	write("\!ntry 2...");
, // catch errors here
	write("\!nthis is what went wrong:",exception_msg);
);
write("\!nDid it work?");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;try some JSL...&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;try 1...&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;this is what went wrong:{"Name Unresolved: junk"(1, 2, "junk", junk("what would this do?") /*###*/)}&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Did it work?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 11:18:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/RUNNING-A-SCRIPT-WITH-TROW-IN-IT/m-p/385122#M63538</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2021-05-14T11:18:49Z</dc:date>
    </item>
  </channel>
</rss>

