<?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: N Items() argument must be a list in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69337#M35080</link>
    <description>&lt;P&gt;The N items() function in older versions of JMP only worked with lists. The function has been extended. Here is the Scripting Index entry for&amp;nbsp;this function in JMP 14:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 372px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12155i117DB1C4DAC0988E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Aug 2018 20:41:50 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2018-08-23T20:41:50Z</dc:date>
    <item>
      <title>N Items() argument must be a list</title>
      <link>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69333#M35077</link>
      <description>&lt;P&gt;When I run my script in JMP 13, everything works fine. However, with JMP 12, I get an error saying N Items() argument must be a list. Why is that so? How can I solve this problem? Thank you for any input.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 18:53:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69333#M35077</guid>
      <dc:creator>Aam_jmp</dc:creator>
      <dc:date>2018-08-23T18:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: N Items() argument must be a list</title>
      <link>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69334#M35078</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11322"&gt;@Aam_jmp&lt;/a&gt;,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Could you possibly share the code ? Typically, the error occurs when The parameter you are passing to the function is not a list. But since you are not getting the same error in JMP 13, I am assuming there is something else at play here. Also, could you do the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming List1 is the parameter you are passing to the function, add a Is List() to test if it is a list indeed.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Is List(List1); &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If the result is 0, then try N Items(List(List1)) to see if that will fix the issue in JMP 12&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 19:23:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69334#M35078</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2018-08-23T19:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: N Items() argument must be a list</title>
      <link>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69337#M35080</link>
      <description>&lt;P&gt;The N items() function in older versions of JMP only worked with lists. The function has been extended. Here is the Scripting Index entry for&amp;nbsp;this function in JMP 14:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 372px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12155i117DB1C4DAC0988E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 20:41:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69337#M35080</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-08-23T20:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: N Items() argument must be a list</title>
      <link>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69338#M35081</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358"&gt;@Mark_Bailey&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; However, the issue he was posting was referring to JMP versions 13 and 12, while it is informative, I don't see how the extended functionality could have anything to do with the case posted by&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11322"&gt;@Aam_jmp&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 20:45:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69338#M35081</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2018-08-23T20:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: N Items() argument must be a list</title>
      <link>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69339#M35082</link>
      <description>&lt;P&gt;Version 12 report an error. That version is more restrictive than Version 13.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 20:49:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69339#M35082</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-08-23T20:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: N Items() argument must be a list</title>
      <link>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69347#M35083</link>
      <description>&lt;P&gt;13 says&lt;/P&gt;
&lt;P&gt;Returns the number of items in a list, the number of keys in an associative array, or the number of children of a display box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Discussions/Should-quot-n-items-quot-be-more-robust/m-p/16627" target="_self"&gt;https://community.jmp.com/t5/Discussions/Should-quot-n-items-quot-be-more-robust/m-p/16627&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 22:05:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/N-Items-argument-must-be-a-list/m-p/69347#M35083</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2018-08-23T22:05:15Z</dc:date>
    </item>
  </channel>
</rss>

