Skip to main content

5. Arrays (数组)

An array structure is represented as square brackets surrounding zero or more values (or elements). Elements are separated by commas.

数组结构表示为方括号包围零个或多个值(或元素)。元素之间用逗号分隔。

array = begin-array [ value *( value-separator value ) ] end-array

There is no requirement that the values in an array be of the same type.

不要求数组中的值属于同一类型。