<?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 Is there a simple way to add scripts to the data table if they do not already exist? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-there-a-simple-way-to-add-scripts-to-the-data-table-if-they/m-p/55170#M31182</link>
    <description>&lt;P&gt;I want to run a script (perhaps multiple times) and part of the script embeds a script into the data table.&lt;/P&gt;&lt;P&gt;E.g., dt &amp;lt;&amp;lt; New Script ("Plot", varchart1= variability Chart(......&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every time I run the main script it will create scripts Plot 1, Plot 2 ect... in the data table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Apr 2018 18:14:38 GMT</pubDate>
    <dc:creator>justvince</dc:creator>
    <dc:date>2018-04-17T18:14:38Z</dc:date>
    <item>
      <title>Is there a simple way to add scripts to the data table if they do not already exist?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-simple-way-to-add-scripts-to-the-data-table-if-they/m-p/55170#M31182</link>
      <description>&lt;P&gt;I want to run a script (perhaps multiple times) and part of the script embeds a script into the data table.&lt;/P&gt;&lt;P&gt;E.g., dt &amp;lt;&amp;lt; New Script ("Plot", varchart1= variability Chart(......&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every time I run the main script it will create scripts Plot 1, Plot 2 ect... in the data table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 18:14:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-simple-way-to-add-scripts-to-the-data-table-if-they/m-p/55170#M31182</guid>
      <dc:creator>justvince</dc:creator>
      <dc:date>2018-04-17T18:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a simple way to add scripts to the data table if they do not already exist?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-simple-way-to-add-scripts-to-the-data-table-if-they/m-p/55174#M31185</link>
      <description>&lt;P&gt;Here is one way to handle your question&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

theScripts = dt &amp;lt;&amp;lt; get table script names;

If( N Rows( Loc( theScripts, "Plot" ) ) == 0,
	dt &amp;lt;&amp;lt; New Script( "Plot", varchart1 = variability Chart(.......
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Apr 2018 19:19:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-simple-way-to-add-scripts-to-the-data-table-if-they/m-p/55174#M31185</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-04-17T19:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a simple way to add scripts to the data table if they do not already exist?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-there-a-simple-way-to-add-scripts-to-the-data-table-if-they/m-p/55178#M31188</link>
      <description>&lt;P&gt;Nice!&amp;nbsp; It works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried something very similar but did not have the N rows.&amp;nbsp; That is a great trick!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 20:12:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-there-a-simple-way-to-add-scripts-to-the-data-table-if-they/m-p/55178#M31188</guid>
      <dc:creator>justvince</dc:creator>
      <dc:date>2018-04-17T20:12:57Z</dc:date>
    </item>
  </channel>
</rss>

