! (Object control)

Assigns a value to a list field by index.

Arguments

The

value
to set.
index
is an integer number, zero-based. If the index is out of range, an error will occur.
list
is the builtin-list to put the value to.

Return values

None

Example

a: (1 2 3); 20 1 a ! a print
Output:
( 1 20 3 )