Quoting constructs: Difference between revisions
Content deleted Content added
Line 413:
====Arrays====
Literal arrays are written as #(...), where the elements are space separated; each literal array element can be any type of literal again, optionally omitting the '#'character:
<lang smalltalk>#( 1 1.234 foo 'hello' #(9 8 7) (99 88 77) $λ '日本語' true [1 2 3] false)</lang>
Here, the third element is the symbol #'foo', the fifth and sixth elements are arrays, followed by a character, another string, the boolean true, a byteArray and the boolean false.
====ByteArrays====
|