Previous Up Next

5.40.7  Modifying the elements of a list: subsop

The subsop command can be used to modify elements in a list.

Remark: If the second argument is i=NULL, then the element at index i is removed from L.


You can also redefine elements (or define new elements, but not remove elements) with :=.

Examples.


Previous Up Next