mdSetItem

HC Data Structure Primitives Mutators mdSetItem
_setItem setItems

mdSetItem indexlist array value


command. Replaces the member of "array" chosen by "indexlist" with the new "value".

Examples:

a={{1 2}{3 4 5}}
mdSetItem [2 3] a "so
show a		;{{1 2}{3 4 so}}

a=[Hallo World]
mdSetItem [2 3] a "a
show a		;[Hallo Woald]

Reference:

_setItem setItems