[Array] put: [Element] at: [Index] | Manual

[Array] put: [Element] at: [Index]

Puts a value in the array at the specified index. Array will be automatically expanded if the index is higher than the maximum index of the array.

 fruits := Array new.
 fruits put: 'apples' at: 5.

back to homepage
back to manual menu

This API reference guide has been generated automatically from source code comments using the shtml.ctr script.