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


Publication date: 06/21/2023

Assignments with Lists

In JSL scripts, create lists 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).