![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Instead of using new:
and at:put:
, you
can create and initialize small arrays, with one to four elements, by using
one of four methods: with:
, with:with:
,
with:with:with:
or with:with:with:with:
. In the
following, for example, a with:with:with:with:
message creates and
initializes a four-element Array
instance:
Array with: 570 with: 720 with: 640 with: 720