For the latest version of JMP Help, visit JMP.com/help.


Scripting Guide > Data Structures > Lists in JSL Scripts > Find the Number of Items in a List
Publication date: 06/21/2023

Find the Number of Items in a List

To determine the number of items in a list, use the N Items() function.

x = {1, 2, y, Sqrt( 3 ), {a, b, 3}};
N = N Items( x );
Show( n );

n = 5;

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).