<?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: Label a column via scripting? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/286888#M55370</link>
    <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;This should be straight forward, but somehow I'm not able to get the Unlabel to work.&lt;/P&gt;&lt;P&gt;Can you please help enlighten me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();

//Works fine to Label
:name("ID") &amp;lt;&amp;lt; Label;
:name("ID") &amp;lt;&amp;lt; Set Labelled;
dt &amp;lt;&amp;lt; Set Label Columns( :ID );

//Doesn't work to Label
:name("ID") &amp;lt;&amp;lt; Set Label;

//Doesn't work to use Unlabel
:name("ID") &amp;lt;&amp;lt; Unlabel;
:name("ID") &amp;lt;&amp;lt; Set Unlabel;
:name("ID") &amp;lt;&amp;lt; Set Unlabelled;
dt &amp;lt;&amp;lt; Set Unlabel Columns( :ID );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2020 01:41:39 GMT</pubDate>
    <dc:creator>Turbo2020</dc:creator>
    <dc:date>2020-08-20T01:41:39Z</dc:date>
    <item>
      <title>Label a column via scripting?</title>
      <link>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/258685#M50816</link>
      <description>&lt;P&gt;I'm trying to label a column via JSL, but all I can find help for is Code to label specific rows based upon conditions. I've tried a couple approaches but was thinking this would work, but it doesn't...&lt;/P&gt;&lt;P&gt;dt:Column("Day #") &amp;lt;&amp;lt; Set labelled; or dt:"Day #" &amp;lt;&amp;lt; Set labelled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 16:57:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/258685#M50816</guid>
      <dc:creator>ERoderz</dc:creator>
      <dc:date>2020-04-17T16:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Label a column via scripting?</title>
      <link>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/258692#M50817</link>
      <description>&lt;P&gt;The correct message is &lt;STRONG&gt;Label&lt;/STRONG&gt;. The opposite effect uses the &lt;STRONG&gt;Unlabel&lt;/STRONG&gt; message. Send the message to the data column, not the data table.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 17:17:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/258692#M50817</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-04-17T17:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Label a column via scripting?</title>
      <link>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/258694#M50818</link>
      <description>&lt;P&gt;To set the Label property for a column, use the following&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt &amp;lt;&amp;lt; set label columns (:Day #)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; Documented in&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Help==&amp;gt;Scripting Index&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 17:19:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/258694#M50818</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-04-17T17:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Label a column via scripting?</title>
      <link>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/286888#M55370</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;This should be straight forward, but somehow I'm not able to get the Unlabel to work.&lt;/P&gt;&lt;P&gt;Can you please help enlighten me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();

//Works fine to Label
:name("ID") &amp;lt;&amp;lt; Label;
:name("ID") &amp;lt;&amp;lt; Set Labelled;
dt &amp;lt;&amp;lt; Set Label Columns( :ID );

//Doesn't work to Label
:name("ID") &amp;lt;&amp;lt; Set Label;

//Doesn't work to use Unlabel
:name("ID") &amp;lt;&amp;lt; Unlabel;
:name("ID") &amp;lt;&amp;lt; Set Unlabel;
:name("ID") &amp;lt;&amp;lt; Set Unlabelled;
dt &amp;lt;&amp;lt; Set Unlabel Columns( :ID );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 01:41:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/286888#M55370</guid>
      <dc:creator>Turbo2020</dc:creator>
      <dc:date>2020-08-20T01:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Label a column via scripting?</title>
      <link>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/286889#M55371</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt = Open("$SAMPLE_DATA/big class.jmp");
:name &amp;lt;&amp;lt; label(1);

wait(5);

:name &amp;lt;&amp;lt; label(0);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Look in the Scripting Index for syntax for items like this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 03:02:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Label-a-column-via-scripting/m-p/286889#M55371</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-08-20T03:02:16Z</dc:date>
    </item>
  </channel>
</rss>

