Scripting Guide > Data Structures > Lists > Assignments with Lists
发布日期: 08/07/2020

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
需要更多信息?有问题?从 JMP 用户社区得到解答 (community.jmp.com).