Assigns a value to the element with the index pos.
Value type.
Value.
Position.
Assigned value.
Precondition: length > pos.
Array!int a = Array!int(1); a[0] = 5; assert(a[0] == 5);
See Implementation
Assigns a value to the element with the index pos.