Arrays: Difference between revisions

Content added Content deleted
m (→‎{{header|Phix}}: added syntax colouring the hard way, phix/basics)
Line 2,128: Line 2,128:
<lang crystal>
<lang crystal>
# create an array with one object in it
# create an array with one object in it
a = ['foo']
a = ["foo"]


# Empty array literals always need a type specification:
# Empty array literals always need a type specification: