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.
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:
Assuming List1 is the parameter you are passing to the function, add a Is List() to test if it is a list indeed.
If the result is 0, then try N Items(List(List1)) to see if that will fix the issue in JMP 12
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 this function in JMP 14:
Version 12 report an error. That version is more restrictive than Version 13.
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.
There are no labels assigned to this post.