<?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 pass string list to Group Scripts in jsl in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-to-pass-string-list-to-Group-Scripts-in-jsl/m-p/219225#M43887</link>
    <description>&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2019 22:51:50 GMT</pubDate>
    <dc:creator>cremebrulee</dc:creator>
    <dc:date>2019-07-30T22:51:50Z</dc:date>
    <item>
      <title>how to pass string list to Group Scripts in jsl</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-pass-string-list-to-Group-Scripts-in-jsl/m-p/219206#M43882</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I've been trying for a couple of days to figure out if there's a way to pass a list of string variable to Group Scripts with the group name. Whenever I do that I got the log error message of "Group command needs to specify a list of scripts to be grouped" with the code below.&lt;/P&gt;&lt;P&gt;ChartList={"Script_1","Script_2","Script_3"};&lt;BR /&gt;DataTable_result &amp;lt;&amp;lt; Group Scripts("AllCharts",ChartList);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I change my code to below, the code run fine.&lt;/P&gt;&lt;P&gt;DataTable_result &amp;lt;&amp;lt; Group Scripts("AllCharts",{"Script_1","Script_2","Script_3"});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I intend to make my code reusable by user define the script names that need to be grouped.I have tried a couple other things, such as using the eval(), expr(), but they don't work. Anyone has any suggestions, that would be great. Thanks in advanced.&lt;/P&gt;&lt;P&gt;Cremebrulee&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 20:22:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-pass-string-list-to-Group-Scripts-in-jsl/m-p/219206#M43882</guid>
      <dc:creator>cremebrulee</dc:creator>
      <dc:date>2019-07-30T20:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass string list to Group Scripts in jsl</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-pass-string-list-to-Group-Scripts-in-jsl/m-p/219217#M43884</link>
      <description>&lt;P&gt;I have validated your findings.&amp;nbsp; However, the script below will allow for the grouping to work.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Eval(
	Substitute(
			Expr(
				dt &amp;lt;&amp;lt; group scripts( "AllCharts", __chartlist__ )
			),
		Expr( __chartlist__ ), chartlist
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I suggest that you submit the issue to JMP support as a bug.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 21:27:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-pass-string-list-to-Group-Scripts-in-jsl/m-p/219217#M43884</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-07-30T21:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass string list to Group Scripts in jsl</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-pass-string-list-to-Group-Scripts-in-jsl/m-p/219225#M43887</link>
      <description>&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 22:51:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-pass-string-list-to-Group-Scripts-in-jsl/m-p/219225#M43887</guid>
      <dc:creator>cremebrulee</dc:creator>
      <dc:date>2019-07-30T22:51:50Z</dc:date>
    </item>
  </channel>
</rss>

