<?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: Delete all rows except row 1. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Delete-all-rows-except-row-1/m-p/82020#M37038</link>
    <description>&lt;P&gt;Here is a simple solution.....all messages and functions used are documented in both the Scripting Guide and the Scripting Index&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.JMP" );

dt &amp;lt;&amp;lt; select where( Row() &amp;gt; 1 );
dt &amp;lt;&amp;lt; delete rows;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 30 Oct 2018 18:12:16 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2018-10-30T18:12:16Z</dc:date>
    <item>
      <title>Delete all rows except row 1.</title>
      <link>https://community.jmp.com/t5/Discussions/Delete-all-rows-except-row-1/m-p/82018#M37037</link>
      <description>&lt;P&gt;I am working on a jsl script and need to delete all rows in a datatable except row 1.&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 18:05:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Delete-all-rows-except-row-1/m-p/82018#M37037</guid>
      <dc:creator>ENTHU</dc:creator>
      <dc:date>2018-10-30T18:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Delete all rows except row 1.</title>
      <link>https://community.jmp.com/t5/Discussions/Delete-all-rows-except-row-1/m-p/82020#M37038</link>
      <description>&lt;P&gt;Here is a simple solution.....all messages and functions used are documented in both the Scripting Guide and the Scripting Index&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.JMP" );

dt &amp;lt;&amp;lt; select where( Row() &amp;gt; 1 );
dt &amp;lt;&amp;lt; delete rows;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Oct 2018 18:12:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Delete-all-rows-except-row-1/m-p/82020#M37038</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-10-30T18:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Delete all rows except row 1.</title>
      <link>https://community.jmp.com/t5/Discussions/Delete-all-rows-except-row-1/m-p/82031#M37043</link>
      <description>&lt;P&gt;How would you do it interactively? Translate those steps into JSL, as Jim did.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 19:01:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Delete-all-rows-except-row-1/m-p/82031#M37043</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-10-30T19:01:36Z</dc:date>
    </item>
  </channel>
</rss>

