I don't understand what you've understood…

Parentheses need to be paired for the outer literal array to be recognized.

Technically, opening parentheses could become elements, but not closing
parentheses, since then there would be nothing to close the literal array.
And it would be strange to read if you could have several ((( but only one
) at the end.

Instead, pairs of parentheses enclose an array, which is nice because it
makes it possible to have literal arrays as elements inside literal arrays.
If you want a single parenthesis as an element, you have to explicitly
write is using the symbol syntax.

On 14 June 2016 at 12:14, frankl1_miky <mike1corporat...@gmail.com> wrote:

> So if I understood it well, closing Parenthesis are telling that it's the
> same element in the Array
>
>
>
> --
> View this message in context:
> http://forum.world.st/Don-t-understand-Array-creation-syntax-tp4900533p4900813.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>

Reply via email to