NetLogo 7.0.0-beta2:

array:set

array:set array index value

Sets the item in the given array with the given index (ranging from zero to the length of the array minus one) to the given value.

Note that unlike the replace-item primitive for lists, a new array is not created. The given array is actually modified.

Take me to the full Array Extension Dictionary