<?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 After generating a new script in a data table through JSL, why does the operation behind the original JSL stop? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/After-generating-a-new-script-in-a-data-table-through-JSL-why/m-p/747351#M92748</link>
    <description>&lt;P&gt;For example the following JSL&lt;BR /&gt;Does it finish adding scripts and then stop working?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Eval(
	Parse(
		"dt&amp;lt;&amp;lt;new script(\!"test\!",
dt&amp;lt;&amp;lt;Select Columns(ncol(dt));dt&amp;lt;&amp;lt;Move Selected Columns(after(Column(1)));
"
	)
);

//??
New Column( "AA" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-17_11-36-37.png" style="width: 821px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/63415i2D1EB1B05E33AF6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-04-17_11-36-37.png" alt="2024-04-17_11-36-37.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 03:42:51 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2024-04-17T03:42:51Z</dc:date>
    <item>
      <title>After generating a new script in a data table through JSL, why does the operation behind the original JSL stop?</title>
      <link>https://community.jmp.com/t5/Discussions/After-generating-a-new-script-in-a-data-table-through-JSL-why/m-p/747351#M92748</link>
      <description>&lt;P&gt;For example the following JSL&lt;BR /&gt;Does it finish adding scripts and then stop working?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Eval(
	Parse(
		"dt&amp;lt;&amp;lt;new script(\!"test\!",
dt&amp;lt;&amp;lt;Select Columns(ncol(dt));dt&amp;lt;&amp;lt;Move Selected Columns(after(Column(1)));
"
	)
);

//??
New Column( "AA" );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-17_11-36-37.png" style="width: 821px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/63415i2D1EB1B05E33AF6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-04-17_11-36-37.png" alt="2024-04-17_11-36-37.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 03:42:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/After-generating-a-new-script-in-a-data-table-through-JSL-why/m-p/747351#M92748</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-04-17T03:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: After generating a new script in a data table through JSL, why does the operation behind the original JSL stop?</title>
      <link>https://community.jmp.com/t5/Discussions/After-generating-a-new-script-in-a-data-table-through-JSL-why/m-p/747353#M92749</link>
      <description>&lt;P&gt;There is a syntax error in the JSL.&amp;nbsp; The Log shows&lt;/P&gt;
&lt;PRE&gt;Unexpected end of input. Perhaps there is a missing "," or ")".
Trying to parse arguments of function "new script".
Line 2 Column 75: …olumns(after(Column(1)));►&lt;/PRE&gt;
&lt;P&gt;The issue is a missing closing ");) for the New Script() function.&amp;nbsp; If the closing ");" is added the JSL works as expected.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Eval(Parse(
	"dt&amp;lt;&amp;lt;new script(\!"test\!",
dt&amp;lt;&amp;lt;Select Columns(ncol(dt));dt&amp;lt;&amp;lt;Move Selected Columns(after(Column(1))););
"
));

//??
dt &amp;lt;&amp;lt; New Column( "AA" );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Apr 2024 04:05:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/After-generating-a-new-script-in-a-data-table-through-JSL-why/m-p/747353#M92749</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-04-17T04:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: After generating a new script in a data table through JSL, why does the operation behind the original JSL stop?</title>
      <link>https://community.jmp.com/t5/Discussions/After-generating-a-new-script-in-a-data-table-through-JSL-why/m-p/747355#M92750</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Eval(Parse(
"dt&amp;lt;&amp;lt;new script(\!"test\!",


);"));&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank Jim!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-17_12-16-21.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/63416i5F7AB6DC6B468E6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-04-17_12-16-21.png" alt="2024-04-17_12-16-21.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 04:19:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/After-generating-a-new-script-in-a-data-table-through-JSL-why/m-p/747355#M92750</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-04-17T04:19:47Z</dc:date>
    </item>
  </channel>
</rss>

