List a contains four items.
Show( a[1] );
Show( a );
Show( c );
x["sqrt"];
xx["b"];
a = 2;
Show( xx[a] );
•
|
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.
|
注意:To get a value in the matrix of an expression column, use double subscripts, as in :Discrim Data Matrix[row()][i].