Lists are containers to store items, such as the following:
character strings
expressions (for example, assignments (see “Assignments with Lists”) or function calls)
nested lists
Create a list in one of the following ways:
use the List function
use {  } curly braces
Use the List() function or curly braces to create a list that includes numbers and variables:
x = List(1, 2, b);
x = {1, 2, b};
A list can contain text strings, other lists, and function calls:
{"Red", "Green", "Blue", {1, "true"}, sqrt(2)};
You can place a variable into a list and assign it a value at the same time:
x = {a=1, b=2};
Evaluate Lists
When you run a script that contains a list, a copy of the list is returned. ...

Get JMP 11 Scripting Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.