<?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 do I insert Multiple Values to Associative Array in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-Multiple-Values-to-Associative-Array/m-p/522608#M74730</link>
    <description>&lt;P&gt;You could use a list (or another associative array) as the value&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

aa = Associative Array({"A", "B"}, {"A", {"X", "."}});
show(aa);
aa = .;

aa = Associative Array();
aa["A"] = "X";
aa["B"] = {"X", "."};
show(aa);
aa = .;

aa = [
	"A" =&amp;gt; "X",
	"B" =&amp;gt; {"X", "."}
];
show(aa);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 18 Jul 2022 07:33:25 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2022-07-18T07:33:25Z</dc:date>
    <item>
      <title>How do I insert Multiple Values to Associative Array</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-Multiple-Values-to-Associative-Array/m-p/522597#M74729</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create an array that sets multiple values to one object:&lt;/P&gt;&lt;P&gt;Is there any way to do this? What I'm trying to do is set if users choose "B", then Both "X" and "." get chosen. Can anyone help?&lt;/P&gt;&lt;P&gt;Array = Associative Array( {"A", "B"}, { "X", "X AND ."});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:51:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-insert-Multiple-Values-to-Associative-Array/m-p/522597#M74729</guid>
      <dc:creator>PowerOx327</dc:creator>
      <dc:date>2023-06-10T20:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I insert Multiple Values to Associative Array</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-insert-Multiple-Values-to-Associative-Array/m-p/522608#M74730</link>
      <description>&lt;P&gt;You could use a list (or another associative array) as the value&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

aa = Associative Array({"A", "B"}, {"A", {"X", "."}});
show(aa);
aa = .;

aa = Associative Array();
aa["A"] = "X";
aa["B"] = {"X", "."};
show(aa);
aa = .;

aa = [
	"A" =&amp;gt; "X",
	"B" =&amp;gt; {"X", "."}
];
show(aa);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Jul 2022 07:33:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-insert-Multiple-Values-to-Associative-Array/m-p/522608#M74730</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-07-18T07:33:25Z</dc:date>
    </item>
  </channel>
</rss>

