该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


List a contains four items.
a = {"bob", 4, [1, 2, 3], {x, y, z}};
Show( a[1] );
Show( a[{1, 3}] );
a[2] = 5; // assigns 5 to the second list item
Show( a );
c = {1, 2, 3};
c[{1, 2}] = {4, 4};
Show( c );
x={sqrt( 4 ), log( 3 )};
xx= {a = 1, b = 3, c = 5};
x["sqrt"];
xx["b"];
注意: 
Multiple left-side subscripts (for example, a[i][j] = value where a contains a list of things that are subscriptable) are allowed in the following circumstances:
Each level except the outermost level must be a list. So, in the example above, a must be a list but a[i] can be anything subscriptable.
Each subscript except the last must be a number. So, in the example above, i must be a number, but j could be a matrix or list of indices.