<?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: Use the content of a selected cell and use it as the name for a new column. in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Use-the-content-of-a-selected-cell-and-use-it-as-the-name-for-a/m-p/486130#M73012</link>
    <description>&lt;P&gt;See the Scripting Index for specific syntax information. You can query the data table to get the currently selected rows. You can likewise query to get the currently selected columns. You access individual values in the data table using subscripts: dataTable[row,column].&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 15:56:01 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2022-05-11T15:56:01Z</dc:date>
    <item>
      <title>Use the content of a selected cell and use it as the name for a new column.</title>
      <link>https://community.jmp.com/t5/Discussions/Use-the-content-of-a-selected-cell-and-use-it-as-the-name-for-a/m-p/486040#M73004</link>
      <description>&lt;P&gt;Dear all, I try to create a script where I use the cell value or content of a selected cell an use this as the name for a new created column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general I could not find the script command to copy or read the content of a selected cell - maybe it is to obvious that I can't find it...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for any help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:59:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Use-the-content-of-a-selected-cell-and-use-it-as-the-name-for-a/m-p/486040#M73004</guid>
      <dc:creator>Heinrich</dc:creator>
      <dc:date>2023-06-09T16:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use the content of a selected cell and use it as the name for a new column.</title>
      <link>https://community.jmp.com/t5/Discussions/Use-the-content-of-a-selected-cell-and-use-it-as-the-name-for-a/m-p/486130#M73012</link>
      <description>&lt;P&gt;See the Scripting Index for specific syntax information. You can query the data table to get the currently selected rows. You can likewise query to get the currently selected columns. You access individual values in the data table using subscripts: dataTable[row,column].&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 15:56:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Use-the-content-of-a-selected-cell-and-use-it-as-the-name-for-a/m-p/486130#M73012</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-05-11T15:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Use the content of a selected cell and use it as the name for a new column.</title>
      <link>https://community.jmp.com/t5/Discussions/Use-the-content-of-a-selected-cell-and-use-it-as-the-name-for-a/m-p/486392#M73039</link>
      <description>&lt;P&gt;here's a little something to help you get started.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//Make an example table
dt=New Table( "Example",
	Add Rows( 5 ),
	New Column( "Column 1",
		Character,
		"Nominal",
		Set Values( {"alpha", "beta", "gamm", "delta", "ice-cream"} )
	)
);

//get the value of the first column in dt, at the 5th row
nnn=column(dt,1)[5];
//make a new useing the value obtained above
dt&amp;lt;&amp;lt;new column(nnn);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 May 2022 18:16:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Use-the-content-of-a-selected-cell-and-use-it-as-the-name-for-a/m-p/486392#M73039</guid>
      <dc:creator>Byron_JMP</dc:creator>
      <dc:date>2022-05-12T18:16:08Z</dc:date>
    </item>
  </channel>
</rss>

