<?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: List as data table variable in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/List-as-data-table-variable/m-p/43950#M25356</link>
    <description>&lt;P&gt;JMP Table Variables are all stored as character strings, so your list will be returned as a character string, and you will have to convert it within your application.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2017 19:39:41 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-09-04T19:39:41Z</dc:date>
    <item>
      <title>List as data table variable</title>
      <link>https://community.jmp.com/t5/Discussions/List-as-data-table-variable/m-p/43948#M25355</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I need to save the list as data table variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;My List = {1,"2"}; 
DT &amp;lt;&amp;lt; Set Table Variable( "The List", My List ); //doesn't work - the value of the variable is string "List"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And then, how do I assign the list to some new variable&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;MyNewListVariable = DT&amp;lt;&amp;lt; Get Table Variable( "The List" ); // Would it work?&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 19:24:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/List-as-data-table-variable/m-p/43948#M25355</guid>
      <dc:creator>tom_abramov</dc:creator>
      <dc:date>2017-09-04T19:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: List as data table variable</title>
      <link>https://community.jmp.com/t5/Discussions/List-as-data-table-variable/m-p/43950#M25356</link>
      <description>&lt;P&gt;JMP Table Variables are all stored as character strings, so your list will be returned as a character string, and you will have to convert it within your application.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 19:39:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/List-as-data-table-variable/m-p/43950#M25356</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-09-04T19:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: List as data table variable</title>
      <link>https://community.jmp.com/t5/Discussions/List-as-data-table-variable/m-p/43952#M25358</link>
      <description>&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Below is the code which worked for me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt = New Table("Table");&lt;BR /&gt;MyList = {"A","B"};&lt;BR /&gt;dt &amp;lt;&amp;lt; Set Table Variable("Var", Char(MyList) );&lt;BR /&gt;list_as_string = dt &amp;lt;&amp;lt; Get Table Variable( "Var" );&lt;BR /&gt;list_as_list = Parse(list_as_string);&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 06:32:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/List-as-data-table-variable/m-p/43952#M25358</guid>
      <dc:creator>tom_abramov</dc:creator>
      <dc:date>2017-09-05T06:32:20Z</dc:date>
    </item>
  </channel>
</rss>

