<?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: How to copy the script of one table to another table using JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-copy-the-script-of-one-table-to-another-table-using-JSL/m-p/878199#M104107</link>
    <description>&lt;P&gt;There are plenty of demonstrations of saving expressions to table script so here is a repeat&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");
ow_script = dt &amp;lt;&amp;lt; Get Script("Oneway");
dt2 = Open("$SAMPLE_DATA/Big Class Families.jmp");
Eval(EvalExpr(
	dt2 &amp;lt;&amp;lt; New Script("Oneway", Expr(NameExpr(ow_script)));
));
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 04 Jun 2025 14:09:31 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-06-04T14:09:31Z</dc:date>
    <item>
      <title>How to copy the script of one table to another table using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-copy-the-script-of-one-table-to-another-table-using-JSL/m-p/878179#M104106</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=Open("$SAMPLE_DATA/Big Class.jmp");
scriptContent = dt &amp;lt;&amp;lt; Get Script("Oneway");
d9 = New Table("A");
d9 &amp;lt;&amp;lt; New Script("Oneway", scriptContent);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks Experts!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-06-04_21-34-20.png" style="width: 996px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/76536iB2F646F7DD9AA189/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-06-04_21-34-20.png" alt="2025-06-04_21-34-20.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:37:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-copy-the-script-of-one-table-to-another-table-using-JSL/m-p/878179#M104106</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-06-04T13:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy the script of one table to another table using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-copy-the-script-of-one-table-to-another-table-using-JSL/m-p/878199#M104107</link>
      <description>&lt;P&gt;There are plenty of demonstrations of saving expressions to table script so here is a repeat&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");
ow_script = dt &amp;lt;&amp;lt; Get Script("Oneway");
dt2 = Open("$SAMPLE_DATA/Big Class Families.jmp");
Eval(EvalExpr(
	dt2 &amp;lt;&amp;lt; New Script("Oneway", Expr(NameExpr(ow_script)));
));
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:09:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-copy-the-script-of-one-table-to-another-table-using-JSL/m-p/878199#M104107</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-06-04T14:09:31Z</dc:date>
    </item>
  </channel>
</rss>

