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


Scripting Guide > Data Structures > Lists > Assignments with Lists
Publication date: 11/29/2021

Assignments with Lists

Create a list to assign values to variables.

Examples

{a, b, c} = {1, 2, 3}; // assign 1 to a, 2 to b, and 3 to c
{a, b, c}--; // decrement a, b, and c
{{a}, {b, c}}++; // increment a, b, and c by 1
mylist = {1, log( 2 ), e()^pi(), height[40]}; // store the expressions
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).